Using spotify-sdk with spotify.com

JavaScript integration

Install
npm install spotify-sdk
Get Current User's Profile
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.spotify.com/v1/me
Get Several Shows
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.spotify.com/v1/shows
Get Several Albums
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://api.spotify.com/v1/albums
SDK on GitHub 📄 API Docs
SDK
spotify-sdk
JavaScript
API
spotify.com
spotify.com
At a glance
Language JavaScript
Endpoints88
Base URLhttps://api.spotify.com/v1