An open API service indexing awesome lists of open source software.

https://github.com/vitorhonna/setlist-to-spotify

Setlist to Spotify
https://github.com/vitorhonna/setlist-to-spotify

Last synced: 3 months ago
JSON representation

Setlist to Spotify

Awesome Lists containing this project

README

        

# Setlist to Spotify

Get setlist from Setlist.fm and create Spotify playlists

## .env file

Create a .env file with the following content:

``` bash
SETLISTFM_API_KEY=your-api-key
SPOTIFY_ACCESS_TOKEN=your-access-token

SPOTIFY_CLIENT_ID=your-client-id
SPOTIFY_CLIENT_SECRET=your-client-secret
```

## Spotify access token

Access the following URL to get your Spotify access token:

``` bash
https://accounts.spotify.com/authorize?response_type=token&client_id=&scope=playlist-modify-public&redirect_uri=
```

Replace `` and `` with your Spotify client id and redirect uri found in your Spotify app:
https://developer.spotify.com/dashboard

The access token will be in the URL after you authorize the app.

Example:
``` bash
http://localhost:8888/callback#access_token=BQC...2SA4aqsUls&token_type=Bearer&expires_in=3600
```

## Setlistfm API key

The Setlist.fm API key can be obtained at:
https://www.setlist.fm/settings/apps