A script that generates Spotify playlists from Billboard charts
Chartbot generates Spotify playlists from Billboard charts. Just give it a chart and a date, and twenty seconds later you'll find a shiny new playlist on your account.
Since Billboard and Spotify don't list songs under the same name, Chartbot has to do some guessing. If Chartbot can't find a song, it'll tell you before it makes the playlist. If Chartbot doesn't find a song that is available on Spotify, please open an issue about it.
- Go to the Spotify developer page and register a new application.
- Copy
config_example.py
toconfig.py
and fill in your app's ID and secret. - Run
./chartbot.py
from a terminal and follow the prompts.
Chartbot tries its best to cache your login information. If you don't want to enter your username on every launch, you can pop that in the config.py file as well.
I haven't tried running Chartbot on Windows, but I imagine it'll work. Drop me a line if you try it.
Grab these with pip. Latest version should be fine.
- billboard.py
- spotipy
- fuzzywuzzy
- inflect