
:max_bytes(150000):strip_icc()/Spotify_01-38a6245e98114342b3260fc2b6fce0c7.jpg)
In June 2020, the music streaming site’s value went up to $44.96 billion. The company was then valued at $29.5 billion. The company made its debut on the New York stock market on April 3rd, 2018, with a share price set at $165.90. You can now get your music on Spotify in over 170 countries including Brazil, Vietnam, Israel, and South Africa. The revenue paid to rights holders recently reached €8 billion. The library contains over 60 million songs that can be found in four billion different Spotify playlists. Using the spotify console pages seems like an easy quick way to get scripts or prototypes running without having to deal with setting up your own webserver.As of February 3, 2021, the Swedish streaming platform reported 345 million monthly active Spotify users: 155 million of those users being paying subscribers of Spotify premium. All it's doing is performing the normal authorization flow in the background, skipping the step where it returns a secret to you that your server that you can then exchange for an access_token and refresh_token.

I don't think there's a way to implement one of these flows where you need to request user scopes without having some sort of web server running to accept the redirect passed into the spotify auth url and then save the given token.Īfter looking at the link you posted for spotify's console pages, it looks like you can use any of those API requests to generate a token including the scopes you want. You'll need to pass a list of scopes with this request, directing the user to a spotify-url-based authorization page, and be able to give it a redirect url that will handle the receiving of the access_token object once the user logs in to the spotify page. If you want access or change certain user information, you'll have to use one of the two other flows on the same spotify authorization page. All you need to do here is exchange your client ID and secret for an access_token that you'll use in subsequent requests. If all you want is a token to query the api to lookup songs/artists/etc., then you can use the Client Credentials auth flow that doesn't require any user input.
