saavn_play library

A comprehensive Dart package for interacting with the JioSaavn API.

This unofficial client provides easy access to search for songs, albums, playlists, artists, podcasts, radio stations, and more.

Usage

import 'package:saavn_play/saavn_play.dart';

void main() async {
  final client = SaavnPlayClient();

  // Search for songs
  final songs = await client.search.songs('Imagine Dragons');

  // Get album details
  final album = await client.albums.detailsById('1142502');

  // Get song details with lyrics
  final songDetails = await client.songs.detailsById(['5WXAlMNt']);

  client.close();
}

Features

  • 🔍 Search: Search for songs, albums, playlists, and artists
  • 🎵 Songs: Fetch song details and download URLs by ID
  • 💿 Albums: Retrieve album information and track listings
  • 🎤 Artists: Get artist details, top songs, and albums
  • 📋 Playlists: Access playlist details and songs
  • 📜 Lyrics: Fetch song lyrics with copyright info
  • 📻 Radio: Browse featured stations and get station songs
  • 🎙️ Podcasts: Discover top podcast shows
  • 🏠 Home: Get personalized home/launch data
  • ⭐ Featured Playlists: Browse featured playlists with filters

Disclaimer

This package is intended for educational and research purposes only. It is not affiliated with, endorsed by, or connected to JioSaavn.

Classes

ArtistPageDetails
BrowseHoverDetails
Model class representing browse hover details (mega menu)
ChartItem
Model class representing a chart item
CreatedRadioStation
Model class representing a created radio station
Represents a download link with quality information.
Episode
Model class representing an episode
FeaturedPlaylistEndpoint
Endpoint class for saavn_play featured playlists
FeaturedPlaylistItem
Model class representing a featured playlist item
FeaturedPlaylistsResponse
Model class representing featured playlists response
FooterArtistItem
Model class representing a footer artist item
FooterDetails
Model class representing footer details
FooterPlaylistItem
Model class representing a footer playlist item
GlobalConfig
Model class representing global configuration
HomeEndpoint
Endpoint class for saavn_play home/launch data feature
HomeLaunchData
Model class representing the complete home/launch data response
HomeRadioStation
Model class representing a radio station in home section
HomeSectionItem
Model class representing a home section item (playlist, album, or song)
LyricsRequest
Request model for song lyrics.
LyricsResponse
Response model for song lyrics.
MegaMenuItem
Model class representing a mega menu item
ModuleConfig
Model class representing a module configuration
PodcastEndpoint
Endpoint class for saavn_play podcasts feature
PodcastShow
Model class representing a podcast show
PodcastShowsResponse
Model class representing the podcast shows response
RadioEndpoint
Endpoint class for saavn_play radio feature
RadioResponse
Model class representing the radio response
RadioSong
Model class representing a radio song with additional DRM and media URL fields
RadioSongWithAuth
Model class representing a radio song with authentication URLs
RadioStation
Model class representing a radio station
RadioStationSongsResponse
Model class representing radio station songs response
SaavnPlayClient
Main client for interacting with the JioSaavn API.
Season
Model class representing a season
ShowDetails
Model class representing show details
ShowResponse
Model class representing show response
SongResponseAlbum
Simple album class for radio functionality
WebapiEndpoint
Endpoint class for saavn_play webapi feature

Typedefs

SaavnPlayclient = SaavnPlayClient
Deprecated: Use SaavnPlayClient instead.