February 2018
Intermediate to advanced
456 pages
9h 56m
English
Let's go ahead and create a file called config.yaml in the musicterminal directory with the following contents:
client_id: '<your client ID>'client_secret: '<your client secret>'access_token_url: 'https://accounts.spotify.com/api/token'auth_url: 'http://accounts.spotify.com/authorize'api_version: 'v1'api_url: 'https://api.spotify.com'auth_method: 'AUTHORIZATION_CODE'
client_id and client_secret are the keys that were created for us when we created the Spotify application. These keys will be used to get an access token that we will have to acquire every time we need to send a new request to Spotify's REST API. Just replace the <your client ID> and <your client secret> with your own keys.
Read now
Unlock full access