Pregunta

Is there a way to get my Spotify play history using either their js or C APIs? I saw a couple of examples, but that was using their outdated API version.

¿Fue útil?

Solución

Spotify play history is not available through any API.

Disclaimer: I'm a Spotify employee.

Otros consejos

Support for this has been added recently: https://developer.spotify.com/web-api/web-api-personalization-endpoints/get-recently-played/

curl -X GET "https://api.spotify.com/v1/me/player/recently-played" -H "Authorization: Bearer {your access token}"

It doesn't look like it.

The JavaScript Web API doesn't have a method for authentication.

The libspotify C API will handle authentication, but I don't see anything about a user's history. I could be missing it, as I'm not a C expert.

Users can connect Spotify to Last.fm, which does store and give access to a user's play history.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top