API that saves Youtube playlist data to a database and can return it when queried.
To start the app run:
pip3 install -r requirements.txt
python3 main.py
Get request for playlist info:
GET /playlist/<playlist_id>
Post request for submitting playlist info:
POST /playlist
{ id: <playlist_id }
Post request for submitting all playlists for a channel:
POST /channel
{ id: <channel_id> }
Note, you will need your own YouTube API key. Place it in a file named '.env' in the project directory like so:
SECRET_KEY = "YOUR_KEY_HERE"