Skip to content

Lyrics search API... Technologies used: cheerio, axios, express.

Notifications You must be signed in to change notification settings

SagarPaul007/lyrics-search-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lyrics Search API

You can search songs and get the lyrics of any song.


First, install nodejs(14+), then clone this repository.


Go inside the directory and run the following commands.

1. npm install
2. npm start

Server will start listening on port 3001 ... Inside index.js file you can change cors origin to your desird port, if your client port is not 3000.

Search Songs

Endpoint:-

http://localhost:3001/search?name={song_name}

You will receive an array of objects. Every object will contain a title, subtitle and a url.

Get lyrics

Endpoint:-

http://localhost:3001/lyrics?url={url}

You will receive an object with the lyrics.


[END]

Used cheerio, axios, express... If you find this useful, leave a star.

About

Lyrics search API... Technologies used: cheerio, axios, express.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published