Unofficial SDK recommended for Spotify in his developer center
Entity oriented SDK to work with the Spotify Web API.
Entity oriented? What? Yes, you will always receive entities+helpers as the API's response.
An awesome example
Too simple like: Get my User then retrieve my Playlist, then add a Track to one Playlist.
Showcase - Projects using Spotify-SDK
You can get it on npm.
npm install spotify-sdk --save
How to start?
After installing, you should add the SDK to your project.
You can import all entities, handlers and resources of the library.
Init the client
let client = Clientinstance;clientsettings =clientId: 'CLIENT_ID'secretId: 'SECRET_ID';
If your applications require methods that need authentication:
clientsettings =clientId: 'CLIENT_ID'secretId: 'SECRET_ID'scopes: SCOPE SCOPE2redirect_uri: 'REDIRECT_URL';clienttoken = 'TOKEN';
Here there is a suggested implementation for login.
Now you can use the sdk in node!
This SDK use Babel and Polyfill in order to add comptiblity with old browseres.
|42+ ✔||41+ ✔||9+ ✔||29+ ✔||8 ✔|
git clone firstname.lastname@example.org:loverajoel/spotify-sdk.git
npm run watch
Pull requests and issues are very welcome. If you have found an bug, please open an issue.