0.4.0 • Published 9 years ago

spotify-web-utils v0.4.0

Weekly downloads
7
License
MIT
Repository
github
Last release
9 years ago

Spotify Web Api Utils

================

Scrape internet playlists, find cover songs, or write your own app with these utilities.

Utilities included:

  • Fetch or Create Playlist. Look up a playlist by name, create it if it doesn't exist
  • Fetch Playlist songs Forget about writing your own paging logic and just use this.
  • Add Songs to Playlist Again, doing paging manually is annoying. This lets you fire and forget a big array of songs to add.
  • Add Unique Songs to Playlist Add only new songs to a playlist and don't duplicate ones already on the playlist.

Setup

Get started by creating a Spotify App

Make sure to add a Redirect URL to your app

http://localhost:8081/auth

Create a .env file in the directory you checked it out to and add your client ID/Secret

PORT=8081
CLIENT_ID=yourclientid
CLIENT_SECRET=yourclientsecret

Then fire 'er up with npm start and browse to http://localhost:8081/coverify?playlist=riffs

0.4.0

9 years ago

0.3.2

9 years ago

0.3.1

9 years ago

0.3.0

9 years ago

0.2.4

9 years ago

0.2.3

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago