1.0.4 • Published 3 years ago

jiosavan v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Jio Savan

Jiosavan is an unofficial SDK to interact with Jiosavan api . It can be used with both backend and fronted.

npm i jiosavan
    or 
yarn add jiosavan

Common Js

const jiosavan = require('jiosavan')

ES6 Import

import jiosavan from "jiosavan"

Async/Await

 const songDetail = await jiosavan.getSong(id,lyrics)

.then() Prmoise

  jiosavan
    .getSong(id,lyrics)
    .then((resp)=>console.log(resp))

Important Methods

For Song,Album,Playlist,Lyrics

To Get The song Details

   const id = "FKUE0Xj4"
   const lyrics= true
   const songDetail = await jiosavan.getSong(id,lyrics)

To Get the Album details

   const id = "1148073"
   const lyrics= true
   const albumDetail = await jiosavan.getAlbum(id,lyrics)

To Get the Playlist details

   const id = "50808"
   const lyrics= true
   const playListDetail = await jiosavan.getPlaylist(id,lyrics)

To Get the Lyrics

   const id = "FKUE0Xj4"
   const songLyrics = await jiosavan.getLyrics(id)

For Searching

To search All data

   const query = "Jai+ho"
   const songLyrics = await jiosavan.search(query)

To search songs

   const query = "Jai+ho"
   const songLyrics = await jiosavan.searchSongs(query)

To search Albums

   const query = "Jai+ho"
   const songLyrics = await jiosavan.searchAlbums(query)

To search Artist

   const query = "Arijit+Singh"
   const songLyrics = await jiosavan.searchArtist(query)

To search Playlist

   const query = "Jai+Ho"
   const songLyrics = await jiosavan.searchPlaylists(query)
1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago