java - Get user data from Spotify on Android -
i want current user's data spotify.
the documentation says have use command:
curl -x "https://api.spotify.com/v1/me" -h "authorization: bearer {your access token}"
i token string spotify. my question is: how should transform curl command java?
you need language bindings , http client. lot of work has been done in android client made kaaes.
in specific case, you'd use getme
method documented here. returns userprivate object, contains birthdate, product, email, country, fields available in userpublic object, display_name.
Comments
Post a Comment