Was able to start messing with the Spotify API today by following this tutorial on grabbing the refresh token. The API seems pretty simple, though it took me some time figuring out how to work node's https library now that request is deprecated. Didn't get a chance yet to mess with the set playback endpoints, but it was super cool being able to see what music I was listening to on my personal account through the API. Fun fact: if you try and use the "/v1/me/player/currently-playing" endpoint while the user is in a private listening session, you'll receive a 204 status response which is pretty neat.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.