jiosaavn_dart 1.0.0
jiosaavn_dart: ^1.0.0 copied to clipboard
A powerful Dart wrapper for JioSaavn, allowing developers to search songs, fetch albums and playlists, access lyrics, and decrypt media URLs effortlessly for seamless integration in music apps.
example/jiosaavn_dart_example.dart
import 'package:jiosaavn_dart/jiosaavn_dart.dart';
void main() async {
final JioSaavnApi api = JioSaavnApi();
final List<Song> songs = await api.searchSong("hindi");
// Convert each Song object to JSON
final List<Map<String, dynamic>> jsonList = songs.map((song) => song.toJson()).toList();
print(jsonList);
}