nanaxcovers.blogg.se

Deezer client
Deezer client












deezer client

Returnsīoolean whether the operation succeeded. Remove an album from the user’s library ParametersĪlbum_id – the ID of the album to remove. Returnsīoolean whether rating was applied remove_user_album ( album_id : int ) → bool ¶ The note should be and integer between 1 and 5. Rate the album of the given ID with the given note. list_radios ( ) → List ¶Ī list of Radio objects rate_album ( album_id : int, note : int ) → bool ¶ list_genres ( ) → List ¶Ī list of Genre objects. User_id – the user ID to get favourites tracks. Get the favourites tracks for the given user_id if provided or current user if not. get_user_tracks ( user_id : Optional = None ) → List ¶ Returns a list of the recently played tracks for the current user. User_id – the user ID to get favourites artists. Get the favourites artists for the given user_id if provided or current user if not. get_user_artists ( user_id : Optional = None ) → List ¶ User_id – the user ID to get favourites albums. Get the favourites albums for the given user_id if provided or current user if not. get_user ( user_id : Optional = None ) → ¶Ī User object get_user_albums ( user_id : Optional = None ) → List ¶ ReturnsĪ Radio object get_track ( track_id : int ) → ¶Ī Track object get_tracks_chart ( ) → List ¶Ī list of Track instances. ReturnsĪ Podcast object get_podcasts_chart ( ) → List ¶Ī list of Podcasts instances. ReturnsĪ Playlist object get_playlists_chart ( ) → List ¶Ī list of Playlist instances. ReturnsĪ Episode object get_genre ( genre_id : int ) → ¶Ī Genre object get_playlist ( playlist_id : int ) → ¶

deezer client

Get overall charts for tracks, albums, artists and playlists.Ĭombines charts of several resources in one endpoint. ReturnsĪn Artist object get_artists_chart ( ) → List ¶Ī list of Artist instances. get_album ( album_id : int ) → ¶Īn Album object get_albums_chart ( ) → List ¶Ī list of Album instances. add_user_track ( track_id : int ) → bool ¶Īdd a track to the user’s library Parameters add_user_artist ( artist_id : int ) → bool ¶Īdd an artist to the user’s library ParametersĪrtist_id – the ID of the artist to add. Headers – a dictionary of headers to be used.Īdd_user_album ( album_id : int ) → bool ¶Īdd an album to the user’s library ParametersĪlbum_id – the ID of the album to add.














Deezer client