Nuns Practicing Misanthropy

    jiosavan
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.4 • Public • Published

    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)

    Install

    npm i jiosavan

    DownloadsWeekly Downloads

    2

    Version

    1.0.4

    License

    ISC

    Unpacked Size

    45.7 kB

    Total Files

    27

    Last publish

    Collaborators

    • iamsarthak