Code Monkey home page Code Monkey logo

lyrics-api's Introduction

lyrics-api

DescriptionInstallationUsageLicense

Description

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 ........"
}

Installation

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

Usage

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

You can fork the repo and deploy on VPS or deploy it on Heroku 😊

Deploy

License

GNU GPLv3 Image

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.