Noam Maoz
Noam Maoz

Reputation: 269

Get user data from Spotify

How can I get user data from Spotify without login?

YouTube Data API, you can get user public data information if you know the Channel ID.

Is i possible to do it in the same way?

I have tried the following link with UserID but it requires authentication. https://api.spotify.com/v1/users/{user_id}/playlists

Upvotes: 2

Views: 4310

Answers (2)

José M. Pérez
José M. Pérez

Reputation: 3279

If you want to fetch user's public playlists you need to authenticate the request.

The authentication is based on OAuth 2.0 and there are several ways to obtain a token. On of them, the Client Credentials flow doesn't involve a login form and you only need your client_id and client_secret to obtain a token.

Upvotes: 1

Soner
Soner

Reputation: 1282

Maybe you should check documents below

Spotify documents

hope helps

Upvotes: 2

Related Questions