This app retrieves information from an artist's track using Client Credentials to grant permissions to the app.
This example runs on Node.js. On its website you can find instructions on how to install it.
You will need to register your app and get your own credentials from the Spotify for Developers Dashboard.
- Create a new app in the dashboard and add
http://localhost:8888/callbackto the app's redirect URL list. - Once you have created your app, update the
client_idandclient_secretin theapp.jsfile with the credentials obtained from the app settings in the dashboard.
From a console shell:
$ node app.js