Description • Installation • Usage • License
Api to get lyrics of the songs by its title and artists name
Currently it searches lyrics from azlyrics.com, more websites will be added in future
Sample response data:
{
"status":true,
"lyrics":"The club isn't the best place to find a lover\n
So the bar is where I go (mmmm)\n
Me and my friends at the table doing shots\n
Drinking fast and then we talk slow (mmmm)\n
And you come over and start up a conversation with just me\n
And trust me I'll give it a chance now (mmmm)\n
Take my hand, stop, put Van The Man on the jukebox\n ........"
}
Clone this repository using
git clone https://github.com/amit-y11/lyrics-api
Enter the directory and install all the requirements using
pip3 install -r requirements.txt
Run the app using
python3 app.py
Now the app is running on http://127.0.0.1:5000
http://127.0.0.1:5000/getlyrics/?title=<Enter title of the song>&artists=<Enter artists of the song>
Example: Navigate to http://127.0.0.1:5000/getlyrics/?title=shape%20of%20you&artists=ed%20sheeran to get JSON response of lyrics data in return
PicSplash is a Free Software: You can use, study, share and improve it at your will. Specifically you can redistribute and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.