Skip to content

Read-only Spotify API using Cloudflare Workers

License

Notifications You must be signed in to change notification settings

BehnH/spotify-workers

Repository files navigation

🔧 Spotify Workers

Cloudflare Workers-based API for fetching Spotify account Data, such as the current song, 10 most recent songs and top 10 songs.

Deploying to Workers

Pre-requisties

Setup & Installation

  1. Copy the wranger.toml.example file to wrangler.toml
  2. Enter your Cloudflare Account ID into the account_id field in your wrangler.toml file
  3. Add the secrets SPOTIFY_CLIENT_ID, SPOTIFY_CLIENT_SECRET, SPOTIFY_REFRESH_TOKEN by running
    $ wrangler secret put SECRET_NAME
    
  4. Publish the worker to Cloudflare
    $ wrangler publish
    

About

Read-only Spotify API using Cloudflare Workers

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published