Simple tool to import a batch of lyrics into the baelor-api.
- Create a file called
config.json
in the root of the repo in the following format
{
"api_address": "http://<the address of the api>/v1",
"api_key": "<your baelor api key>",
"song_id": "<the id of the song you want to add lyrics to>"
}
- Update the
lyrics.txt
with the lyrics of the song. - Run
go run main.go