Search code examples
androidmetadataspotifyspotify-app

How do I get metadata from Spotify SDK on Android?


I'm building an app with the lastest Spotify SDK, it's working fine but now i want to get LoginUser's metadata as displayName, birthday and country, also want to get Track's metadata as Artist, SongName, Album, YearFromAlbum(if its possible), I can only get track's URI, duration, playing?, shuffle?, repeat?

I also followed this tutorial and read a lot from: developer.spotify.com/android-sdk-docs/index.html?com/spotify/sdk/android/ but nothing.

Thanks for your help and time. Regards.

PS: I'm Loggin in through WebView


Solution

  • The Spotify SDK does not currently have functions for metadata lookup or playlist management, for that you need to use Spotify Web API

    You can call directly the API or use a wrapper like this Spotify Web API for Android