-
Notifications
You must be signed in to change notification settings - Fork 11
Browsing
Ewan edited this page Dec 27, 2017
·
4 revisions
A list of the common genre can be fetched once you have created a session.
- GetCommonGenre doesn't support pagination.
var genre = await Deezer.Genre.GetCommonGenre();
Deezer has charts for albums, artists, playlists and tracks which can be fetched via Deezer.Charts
once you have created a session.
Charts can be fetched individually or altogether. An optional genreId
or E.Deezer IGenre
object can be specifed to restrict the charts to that genre.
- All chart methods have support for pagination.
- Deezer doesn't maintain charts for all genres and of all types.
var currentChart = await Deezer.Charts.GetChart(); //Gets album, artist, playlist & track chart
var trackChart = await Deezer.Charts.GetTrackChart(); //Gets only the track chart
var genrePlaylistChart = await Deezer.Charts.GetPlaylistChart(10); //Gets the playlist chart for the genre with id 12. Genre can be fetched via Deezer.Genre.GetCommonGenre()
var top50 = await Deezer.Charts.GetAlbumChart(aCount: 50); //Gets top 50 albums
Please see: user