Skip to content

AP-Atul/saavn-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

saavn-api

Ready to integrate saavn api for musc downloading and listeniing

Usage

  1. Declare the fetch oject, attach the JsaListener
class Sample implements JsaListener {

  // this refers to the instance of the JsaListener
  JsaFetch fetch = new JsaFetch(this);
  
}
  1. Call methods to fetch data based on query
String myQuery = "something good";

// for songs
fetch.songs(myQuery);

//for albums
fetch.albums(myQuery);
  1. Implements the methods of the JsaListener
@Override
public void setSongs(List<Music> musics) {
  // data from fetch
}

@Override
public void setAlbums(List<Album> albums) {
  // data from fetch
}
  1. Music and Album Objects
// both objects have properties as public so not getters or setters

About

Ready to integrate saavn api for music downloading and listening

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages