Can I delete a song from a spotify playlist with Applescript alone?

I’ll try to make it brief because I’m not a coder, so I don’t really belong here, but I will learn Applescript enough to get this done if it will work.

I think I was overcomplicating it, trying to use webhooks and api and services like ifttt and integromat, trying to pay people, confusing them.

Then I came across a person’s page who used Applescript to delete song from itunes (sorry about not putting it in code form, like I said I don’t know anything about coding).

tell application “iTunes”
if special kind of current playlist is not none then return
set deleteThis to current track
next track
try
delete deleteThis
end try
end tell

then I came across another person’s page who was using applescript to post what he is playing to twitter

tell application “Spotify”
set theTrack to name of the current track
end tell
return theTrack

tell application “Spotify”
set theArtist to the artist of the current track
end tell
return theArtist

tell application “Spotify”
set theID to id of the current track
end tell
return theID

so, those are just examples, that would have to be adapted to my purposes, but will learning Applescript or ApplescriptOjbC alone be enough to manipulate spotify in various ways? If so I will begin learning, thanks.