#Song Lyrics Finder.
PROBLEM STATEMENT:
-
For this project, you will be expected to make use of MusixMatch API or RapGenius API.
-
As a user, I can perform the following operations:
-
song find <search_query_string>
- Returns a list of songs that match the criteria. -
song view <song_id>
- View song lyrics based on it’s id. Should be optimized by checking if there’s a local copy before checking online. -
song save <song_id>
- Store song details and lyrics locally. -
song clear
- Clear entire local song database.
GETTING STARTED:
-
Clone Repo:
$ git clone https://github.com/asce1062/bc-15-song-lyrics-finder.git
$ cd bc-15-song-lyrics-finder
-
Activate your virtualenv. Python 2.7.13 was used for this project
-
Install requiremets
$ pip install -r requirements.txt
-
Create local database in same directory
$ python models.py
-
Start the application
$ python main.py
USAGE:
-
find <song_name>
- returns the top 10 artists based on song_name and returns Song ID, Song Name and Artist Name(s).Song ID will be used to find lyrics.Usage:
find BYOB
should display top 10 performances with the tittle BYOB. -
view <trackid>
- Displays the Lyrics based on Song ID entered.Usage:
find 3657996
search and display lyrics using the song IDs generated fromfind BYOB
. In this case BYOB by System of a Down who's song ID is 3657996 -
save <trackid>
- saves the song to a local databasesong_lyrics.db
.Usage: :
save 3657996
will save BYOB by System of a Down to the local database. -
cear
- Clear the entire local database.Usage :
clear
will clear entire local database.