A brief example of the usage of the Spotify API with Node. The code connects with the Spotify API and it retrieves all the songs of an specific playlist. Then, it exports the metadata to a text file in markdown format.
- Ensure that Node.js is installed
- Run
npm install
to ensure the required dependencies are installed - Register your application in Spotify following their tutorial
- Include your
client_id
and yourclient_secret
in /node/config.json following the example in config_sample.json cd node/
- Run
node get_playlist_tracks.js <playlist_uri>