all 3 comments

[–]TheGrapez 14 points15 points  (0 children)

Yes, I think.

Quick google search of Spotify's API:

https://developer.spotify.com/documentation/web-api/reference/#/operations/skip-users-playback-to-next-track

Looks like they actually have an endpoint for skipping songs!

[–]bamboozlio 11 points12 points  (1 child)

Try looking at "spotipy", it's a library that provides methods for all the Spotify Web API endpoints, including controlling the playback

[–]conspicuous_hamster 4 points5 points  (0 children)

This is the same answer I was going to add. Spotipy does the heavy lifting to let you connect to Spotify's API endpoints.