• Stars
    star
    360
  • Rank 118,230 (Top 3 %)
  • Language
    Python
  • License
    MIT License
  • Created over 5 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An unofficial API for JioSaavn written in Python 3

JioSaavn API [Unofficial]

Show some ❤️ and the repo to support the project

GitHub stars GitHub followers Telegram Channel made-with-python Open Source Love svg1

JioSaavn API written in Python using Flask


NOTE: You don't need to have JioSaavn link of the song in order to fetch the song details, you can directly search songs by their name. Fetching Songs/Albums/Playlists from URL is also supported in this API.

Features:

Currently the API can get the following details for a specific song in JSON format:
  • Song Name
  • Singer Name
  • Album Name
  • Album URL
  • Duration of Song
  • Song Thumbnail URL (Max Resolution)
  • Song Language
  • Download Link
  • Release Year
  • Album Art Link (Max Resolution)
  • Lyrics
  • .... and much more!
{
    "album": "BIBA",
    "album_url": "https://www.jiosaavn.com/album/biba/98G3uzIs2qQ_",
    "autoplay": "false",
    "duration": "175",
    "e_songid": "ICERW0MFfQs",
    "has_rbt": "false",
    "image_url": "https://c.saavncdn.com/987/BIBA-English-2019-20190201201359-500x500.jpg",
    "label": "Joytime Collective",
    "label_url": "/label/joytime-collective-albums/",
    "language": "hindi",
    "liked": "false",
    "map": "Marshmello^~^/artist/marshmello-songs/Eevs5FiVgus_^~^Pritam Chakraborty^~^/artist/pritam-chakraborty-songs/OaFg9HPZgq8_^~^Shirley Setia^~^/artist/shirley-setia-songs/9qGdjoPJ1vM_^~^Pardeep Singh Sran^~^/artist/pardeep-singh-sran-songs/NIfiZRCrYQA_^~^Dev Negi^~^/artist/dev-negi-songs/NpCqdI4dD5U_",
    "music": "",
    "origin": "search",
    "origin_val": "biba",
    "page": 1,
    "pass_album_ctx": "true",
    "perma_url": "https://www.jiosaavn.com/song/biba/ICERW0MFfQs",
    "publish_to_fb": true,
    "singers": "Marshmello, Pritam Chakraborty, Shirley Setia, Pardeep Singh Sran, Dev Negi",
    "songid": "PIzj75J8",
    "starred": "false",
    "starring": "",
    "streaming_source": null,
    "tiny_url": "https://www.jiosaavn.com/song/biba/ICERW0MFfQs",
    "title": "BIBA",
    "twitter_url": "http://twitter.com/share?url=https%3A%2F%2Fwww.jiosaavn.com%2Fsong%2Fbiba%2FICERW0MFfQs&text=%23NowPlaying+%22BIBA%22+%40jiosaavn+%23OurSoundtrack&related=jiosaavn",
    "url": "http://h.saavncdn.com/987/cd902d048c13e5ce6ca84cc409746a5d.mp3",
    "year": "2019"
  }

Installation:

Clone this repository using

$ git clone https://github.com/cyberboysumanjay/JioSaavnAPI

Enter the directory and install all the requirements using

$ pip3 install -r requirements.txt

Run the app using

$ python3 app.py

Navigate to 127.0.0.1:5000 to see the Homepage

Usage:

Fetching lyrics is optional and is triggered only when it is passed as an argument in the GET Request. (&lyrics=true) If you enable lyrics search, it will take more time to fetch results


Universal Endpoint: (Supports Song Name, Song Link, Album Link, Playlist Link)
http://127.0.0.1:5000/result/?query=<insert-jiosaavn-link-or-query-here>&lyrics=true

Example: Navigate to http://127.0.0.1:5000/result/?query=alone to get a JSON response of songs data in return.


Song URL Endpoint:
http://127.0.0.1:5000/song/?query=<insert-jiosaavn-song-link>&lyrics=true

Example: Navigate to http://127.0.0.1:5000/song/?query=https://www.jiosaavn.com/song/khairiyat/PwAFSRNpAWw to get a JSON response of song data in return.


Playlist URL Endpoint:
http://127.0.0.1:5000/playlist/?query=<insert-jiosaavn-playlist-link>&lyrics=true

Example: Navigate to http://127.0.0.1:5000/playlist/?query=https://www.jiosaavn.com/featured/romantic-hits-2020---hindi/ABiMGqjovSFuOxiEGmm6lQ__ to get a JSON response of playlist data in return.


Album URL Endpoint:
http://127.0.0.1:5000/album/?query=<insert-jiosaavn-album-link>&lyrics=true

Example: Navigate to http://127.0.0.1:5000/album/?query=https://www.jiosaavn.com/album/chhichhore/V4F3M5,cNb4_ to get a JSON response of album data in return.


Lyrics Endpoint:
http://127.0.0.1:5000/lyrics/?query=<insert-jiosaavn-song-link-or-song-id>&lyrics=true

Example: Navigate to http://127.0.0.1:5000/lyrics/?query=https://www.jiosaavn.com/song/khairiyat/PwAFSRNpAWw to get a JSON response of lyrics data in return.


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

Deploy

Note: Heroku gives US/Europe servers which won't be able to fetch all songs flawlessly. Use any Indian VPS for accurate results.


Made using this API ❤️

Musify - Android App

@songdl_bot - Song Downloader Bot on Telegram

Jio-Saavn-Downloader [Beta] - Open Sourced website made by Praveen Bhadoo

Musicder - Open Sourced website made by Tuhin Pal

Music_Downloader_CLI made by TheHamkerCat

Star the Repo in case you liked it :)

© Sumanjay

More Repositories

1

Inshorts-News-API

Unofficial API of Inshorts written in Flask
Python
222
star
2

Carbon-API

Unofficial API for generating beautiful images of your source code using Carbon.
Python
190
star
3

APIs

This Repository contains link to many Open or Closed Source APIs which I've made
145
star
4

GaanaAPI

Unofficial Gaana API
Python
113
star
5

Gdrivedownloader

Just enter the direct URL of the file and it will upload it to Google Drive and print download link of it.
Python
93
star
6

upayi

Create shareable links for your UPI ID
HTML
58
star
7

TorrFlix

A simple torrent streamer written in python.
Python
57
star
8

UdemySales

Android App for grabbing paid Udemy courses for free during sales using coupon codes
Dart
51
star
9

Torrent-Searcher

[DEPRECATED] A simple torrent file searcher written in Python
Python
37
star
10

InstaFlask

A flask app to fetch Instagram Profile details, get downloadable High Definition DP/Photos/Videos of users from link.
HTML
35
star
11

RealTimeCryptoPrice

Plots Real-Time Crypto Currency Price
HTML
30
star
12

pw

Best websites a Programmer should visit
HTML
28
star
13

JioMusicAPI

[Deprecated] An unofficial API for JioMusic written in Python 3
Python
28
star
14

ocrbot

Optical Character Recognition (OCR) implementation in Telegram Bot
Python
20
star
15

CourierAPI

API for getting tracking updates of Courier Service Providers
Python
17
star
16

click2whatsapp

Click to chat with unsaved WhatsApp Number.
CSS
12
star
17

torrent

Unblocked Torrent Sites
CSS
11
star
18

VoiceAssistant

Python Project
Python
7
star
19

CashbackCardComparisonTool

A tool to compare cashbacks provided by various cashback cards
JavaScript
7
star
20

Telegram-ChatBot

A chat bot for Telegram based on Chatterbot
Python
7
star
21

jsonproxy

[Deprecated] List of Indian Proxies updated every 15 mins.
Python
5
star
22

web

This contains add-ons for my website
JavaScript
4
star
23

tgsubsapi

Telegram Live Subs API
Python
4
star
24

cyberboysumanjay

3
star
25

BinanceFuturesBalanceDashboard

Get realtime Binance Futures Wallet Details
JavaScript
3
star
26

AI-Training

Jupyter Notebooks and other files used in AI Training
Jupyter Notebook
3
star
27

evaluator

Automated Evaluation of Answers using ML
HTML
2
star
28

additional_files

2
star
29

chat-ui

Open source chat widget UI
CSS
2
star
30

python-codes

All Source Codes of the Python HP Summer Training.
Python
2
star
31

storage

Solution for uploading and downloading Files. This helps in uploading and downloading files from my Google Drive without logging in!
CSS
1
star
32

Semester6

NIT Delhi Lab Works of Semester 6
C
1
star
33

C-Assignments

This Repo contains all my Assignments of Computer Science
C
1
star
34

Java-Practice-Codes

This repo will contains my mayNucleus assignment codes
Java
1
star
35

Semester4

Lab works
C++
1
star
36

TOAD

Theory of App Development Course Codes
Java
1
star
37

NetworkSecurityLab

Lab works for Network Security Lab
Python
1
star
38

satish

Portfolio of Pappu
CSS
1
star