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/callback
to the app's redirect URL list. - Once you have created your app, update the
client_id
andclient_secret
in theapp.js
file with the credentials obtained from the app settings in the dashboard.
From a console shell:
$ node app.js