- Indefinitely search for stored songs on Spotify
- Create yearly Spotify playlists and add songs to them
Before running locally or deploying this, use token_gen.py
to generate and store a Spotify token into DynamoDB.
virtualenv ./.venv
source ./.venv/bin/activate
pip install -r requirements.txt
python token_gen.py
python main.py
deactivate
Fill in ./functions/to-spotify/env.json
with SPOTIPY_CLIENT_ID
and SPOTIPY_CLIENT_SECRET
, and then:
apex build to-spotify
apex deploy to-spotify --region eu-west-1 -ldebug --env-file ./functions/to-spotify/env.json
- All from λ1
- DynamoDB tables:
- CursorsTable
- name:
ra_cursors
- partition key:
name
(string)
- name:
- CursorsTable
- name:
ra_playlists
- partition key:
year
(string) - sort_key"
num
(decimal)
- name:
- CursorsTable