- Clone the repo
- Install dependencies:
pip install -r requirements.txt
GET /songs/<playlist_id>
Parameter | Type | Description |
---|---|---|
playlist_id |
string |
Spotify Playlist ID, commonly found on playlist URL |
List containing song title and band name for each song in the playlist
[
[
"song_title",
"band_name"
],
...
]
GET /lyrics/<title>/<author>/<trans_lang>
Parameter | Type | Description |
---|---|---|
title |
string |
Song title |
author |
string |
Song author |
trans_lang |
string |
Two letter code for target translation language |
List containing original version and translated version for each verse in the song
[
[
"original_verse",
"translated_verse"
],
...
]
- Add better error handling
- Follow general API conventions
- Add route to generate anki flashcards from song lyrics