Package: jiosaavn-python
JioSaavn-PythonAn unofficial Python3 wrapper for JioSaavn, a popular Indian music streaming service.. I am in no way affiliated withJioSaavn, use at your own risk.Show some ❤️ and ⭐ the repo to support the project. It will motivate me to keep this project alive.Hire Me:Abhi Chaudhari!FeaturesGet New ReleasesGet Song LyricsGet Song InfoGet Song Direct Download LinkGet Featured PlaylistsGet Playlist SongsGet Top ChartsGet Top ArtistsGet Artist's Top SongsSearch for SongsSearch for AlbumsSearch for ArtistsSearch for PlaylistsSearch for PodcastsSearch Top QueriesGetting itTo download jiosaavn-python, either fork this github repo or simply use Pypi via pip.pipinstalljiosaavn-pythonGet New ReleasesYou can use the following code to get new releases fromJioSaavn. The below code shows the example usingasynciobut you can also use the following in the async function with theawaitkeyword. We are usinglimit=2to limit the number of results returned.importjsonimportasynciofromjiosaavnimportJioSaavnsaavn=JioSaavn()data=asyncio.run(saavn.get_new_releases(page=1,limit=2))print(json.dumps(data,indent=4))Get Song LyricsYou can use the following code to get song lyrics fromJioSaavn. You can pass SongID/LINKBelow code shows the example usingasynciobut you can also use the following in the async function withawaitkeyword.importjsonimportasynciofromjiosaavnimportJioSaavnsaavn=JioSaavn()data=asyncio.run(saavn.get_song_lyrics("https://www.jiosaavn.com/song/srivalli/RBpGRidYdVI"))print(json.dumps(data,indent=4))Get Song InfoYou can use the following code to get song info fromJioSaavn. You can pass SongID/LINKBelow code shows the example usingasynciobut you can also use the following in the async function with theawaitkeyword.importjsonimportasynciofromjiosaavnimportJioSaavnsaavn=JioSaavn()data=asyncio.run(saavn.get_song_details("https://www.jiosaavn.com/song/srivalli/RBpGRidYdVI"))print(json.dumps(data,indent=4))Get Song Direct Download LinkYou can use the following code to get a song direct download fromJioSaavn. You can pass SongID/LINKBelow code shows the example usingasynciobut you can also use the following in the async function with theawaitkeyword.importjsonimportasynciofromjiosaavnimportJioSaavnsaavn=JioSaavn()data=asyncio.run(saavn.get_song_direct_link("https://www.jiosaavn.com/song/srivalli/RBpGRidYdVI"))print(json.dumps(data,indent=4))Get Featured PlaylistsYou can use the following code to get featured playlists fromJioSaavn. You can pass SongID/LINKBelow code shows the example usingasynciobut you can also use the following in the async function with theawaitkeyword. We are usinglimit=2to limit the number of results returned.importjsonimportasynciofromjiosaavnimportJioSaavnsaavn=JioSaavn()data=asyncio.run(saavn.get_featured_playlists(page=1,limit=2))print(json.dumps(data,indent=4))Get Playlist SongsYou can use the following code to get playlist songs fromJioSaavn. You can pass SongID/LINKBelow code shows the example usingasynciobut you can also use the following in the async function with theawaitkeyword. We are usinglimit=2to limit the number of results returnedimportjsonimportasynciofromjiosaavnimportJioSaavnsaavn=JioSaavn()data=asyncio.run(saavn.get_playlist_songs("https://www.jiosaavn.com/featured/the-landers/2-aGcw5eLvQwkg5tVhI3fw__",page=1,limit=2))print(json.dumps(data,indent=4))Get Top ChartsYou can use the following code to top charts fromJioSaavn. You can pass SongID/LINKBelow code shows the example usingasynciobut you can also use the following in the async function with theawaitkeyword.importjsonimportasynciofromjiosaavnimportJioSaavnsaavn=JioSaavn()data=asyncio.run(saavn.get_top_charts())print(json.dumps(data,indent=4))Get Top ArtistsYou can use the following code to get top artists fromJioSaavn. You can pass SongID/LINKBelow code shows the example usingasynciobut you can also use the following in the async function with theawaitkeyword.importjsonimportasynciofromjiosaavnimportJioSaavnsaavn=JioSaavn()data=asyncio.run(saavn.get_top_artists())print(json.dumps(data,indent=4))Get Artist's Top SongsYou can use the following code to get the artist's top songs fromJioSaavn. You can pass SongID/LINKBelow code shows the example usingasynciobut you can also use the following in the async function with theawaitkeyword. We are usinglimit=2to limit the number of results returned.importjsonimportasynciofromjiosaavnimportJioSaavnsaavn=JioSaavn()data=asyncio.run(saavn.get_artist_top_songs("https://www.jiosaavn.com/artist/allu-arjun-songs/BGi8EcKdZXk_",limit=2))print(json.dumps(data,indent=4))Search for SongsYou can use the following code to search songs fromJioSaavn. You can pass SongID/LINKBelow code shows the example usingasynciobut you can also use the following in the async function with theawaitkeyword.importjsonimportasynciofromjiosaavnimportJioSaavnsaavn=JioSaavn()data=asyncio.run(saavn.search_songs("Narayan mil jayega"))print(json.dumps(data,indent=4))Search for AlbumsYou can use the following code to search albums fromJioSaavn. You can pass SongID/LINKBelow code shows the example usingasynciobut you can also use the following in the async function with theawaitkeyword.importjsonimportasynciofromjiosaavnimportJioSaavnsaavn=JioSaavn()data=asyncio.run(saavn.search_albums("Narayan mil jayega"))print(json.dumps(data,indent=4))Search for ArtistsYou can use the following code to search artists fromJioSaavn. You can pass SongID/LINKBelow code shows the example usingasynciobut you can also use the following in the async function with theawaitkeyword.importjsonimportasynciofromjiosaavnimportJioSaavnsaavn=JioSaavn()data=asyncio.run(saavn.search_artists("Allu Arjun"))print(json.dumps(data,indent=4))Search for PlaylistsYou can use the following code to search playlists fromJioSaavn. You can pass SongID/LINKBelow code shows the example usingasynciobut you can also use the following in the async function with theawaitkeyword.importjsonimportasynciofromjiosaavnimportJioSaavnsaavn=JioSaavn()data=asyncio.run(saavn.search_playlists("Krishna"))print(json.dumps(data,indent=4))Search for PodcastsYou can use the following code to search podcasts fromJioSaavn. You can pass SongID/LINKBelow code shows the example usingasynciobut you can also use the following in the async function with theawaitkeyword.importjsonimportasynciofromjiosaavnimportJioSaavnsaavn=JioSaavn()data=asyncio.run(saavn.search_podcasts("Krishan"))print(json.dumps(data,indent=4))Search Top QueriesYou can use the following code to search top queries fromJioSaavn. You can pass SongID/LINKBelow code shows the example usingasynciobut you can also use the following in the async function with theawaitkeyword.importjsonimportasynciofromjiosaavnimportJioSaavnsaavn=JioSaavn()data=asyncio.run(saavn.search_topquery("the landers"))print(json.dumps(data,indent=4))TodoAdd download support for albumAdd download support for playlistAdd download support for podcastsAdd get details feature for albumAdd get details feature for atristAdd get details feature for playlistAdd get details feature for podcastsLicenseMIT LicenseCopyright (c) 2023 Abhishek ChaudhariPermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.