Musixmatch api wrapper written in Kotlin
-
🔎 For more info visit MusixMatch api documentation
-
Declare Musixmatch instance:
val musixMatch = MusixMatch("apiKey")
- Searching for a track:
/**
* Parameters: track, artist, artistId, lyrics, track_artist, hasLyrics
*
* @return List<stanic.musixmatchwrapper.track.model.Track>
**/
musixMatch.searchTrack("track name")
- Getting a track by common id:
/**
* Parameters: common track id
*
* @return stanic.musixmatchwrapper.track.model.Track or null if can't find anything
**/
musixMatch.getTrack(commonTrackId)
- Getting lyrics by track id:
/**
* Parameters: track id
*
* @return stanic.musixmatchwrapper.track.model.Lyrics or null if can't find anything
**/
musixMatch.getLyrics(trackId)
Soon new information about