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
- Host: GitHub
- URL: https://github.com/vitorhonna/setlist-to-spotify
- Owner: vitorhonna
- License: mit
- Created: 2022-08-26T17:05:25.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-01T19:10:06.000Z (over 1 year ago)
- Last Synced: 2025-01-14T18:03:58.296Z (5 months ago)
- Language: Python
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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-tokenSPOTIFY_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/dashboardThe 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