bootstrap templates for spotify playlists
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Charles Reid a0ce3dbcf7 describe actions in readme 1 year ago
assets basic files 3 years ago
master_list_2019-06 move old master lists to subdirectories 1 year ago
master_list_2019-11 move old master lists to subdirectories 1 year ago
templates add links to open track via URI (external) and URL (browser) 2 years ago
.gitignore commit november master list 2 years ago
LICENSE MIT license 2 years ago
Readme.md describe actions in readme 1 year ago
Revamp.md basic files 3 years ago
analysis.py basic files 3 years ago
requirements.txt basic files 3 years ago
spots.py add actions to script 1 year ago
spots_objects.py minor fixes (try/except wrap, fix debug msg) 1 year ago

Readme.md

spots

this repo contains scripts to use the spotify API to extract information about playlists and construct a static site with HTML versions of each playlist, its tracks, album art, descriptions, spotify links, etc.

The script uses OAuth, and requires each user to log in via a web browser to authorize access to their playlists.

Step 1: Extract Playlist Data

The first step is to extract a list of all playlists, playlist art, and descriptions, to compile and let the user select which playlists they are interested in.

To run the extract step with a spotify username:

python spots.py [username] extract

Step 2: Edit Playlist Data

The prior step will output a master_list.json containing info about each of the user's playlists. This JSON list can be edited to remove any playlists that should not be included in the static site.

Step 3: Create Static Site

Create a static site using the spotify playlist IDs specified by the user:

python spots.py [username] create