NOTE: This API fetches data in 2 versions according to the query data parameters passed in the endpoints
- Song Name
- Singer Name
- Album Name
- Album URL
- Artists
- Duration of Song
- Song Thumbnail URL
- Song Language
- Download Link
- Release Year
- Album Art Link (Max Resolution)
- Lyrics
{
"id": "Paem2Kf1",
"320kbps": "true",
"title": "Starboy",
"subtitle": "The Weeknd ft. Daft Punk - Starboy",
"type": "song",
"album": "Starboy",
"album_url": "https://www.jiosaavn.com/album/starboy/44b7DBDpUq8_",
"album_id": "3084994",
"copyright_text": "℗ 2016 The Weeknd XO, Inc., Manufactured and Marketed by Republic Records, a Division of UMG Recordings, Inc.",
"artist": [
"The Weeknd"
],
"language": "english",
"duration": "230",
"year": "2016",
"has_lyrics": "false",
"song_url": "https://aac.saavncdn.com/372/38de816bee7a6df4607f1f0e6822c5bc_320.mp4",
"image": "https://c.saavncdn.com/372/Starboy-English-2016-500x500.jpg",
"explicit_content": false
}Clone this repository using
$ git clone https://github.com/0xiamsanj/SoundScape-APIEnter the directory and install all the requirements using
$ npm install Run the app using
$ node index.jsAs this API fetches data in 2 versions: simplified and detailed. Here &minified=true means JSON response in simplified version. You also can go with &minified=false for detailed response
http://localhost:5500/?lang=language1_language2_language3Example:
http://localhost:5500?lang=english_tamilhttp://localhost:5500/search?query=<your-query-here>Example:
http://localhost:5500/search?query=Starboyhttp://localhost:5500/song/?query=<song-name-here>&minified=trueExample:
http://localhost:5500/song?query=Starboy&minified=truehttp://localhost:5500/playlist/?query=<playlist-id/url>&minified=trueExample:
http://localhost:5500/playlist?query=7386899&minified=truehttp://localhost:5500/album?query=<album_url/id>&minified=trueExample:
http://localhost:5500/album?query=49428469&minified=truehttp://localhost:5500/song-id?query=<song_url/id>&minified=trueExample:
http://localhost:5500/song-id?id=lkaNaSDX&minified=true