Skip to content

A small set of classes to conveniently access data on Deezer

License

Notifications You must be signed in to change notification settings

sharst/deezer_python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deezer-python

A small set of classes to conveniently access data on Deezer

See the demo folder for some examples of what you can do, for instance send around nice cover walls: Release Overview

In [1]: from deezer_python.deezer import Deezer

In [2]: deezer = Deezer(1234567891) # your deezer ID

In [3]: album = deezer.get_favorite_albums()[0]

In [4]: album.artist.name
Out[4]: 'Hacride'

In [5]: album.name
Out[5]: 'Amoeba'

In [6]: album.tracks
Out[6]: 
[Track(Hacride - Perturbed),
 Track(Hacride - Fate),
 Track(Hacride - Vision of hate),
 Track(Hacride - Zambra (ojos de brujo cover)),
 Track(Hacride - Liquid),
 Track(Hacride - Cycle),
 Track(Hacride - Deprived of soul),
 Track(Hacride - Strength),
 Track(Hacride - Ultima necat),
 Track(Hacride - On the threshold of death)]

In [7]: album.data.keys()
Out[7]: dict_keys(['genre_id', 'record_type', 'id', 'artist', 'duration', 'label', 'release_date', 'upc', 'cover_xl', 'share', 'available', 'nb_tracks', 'genres', 'explicit_content_cover', 'fans', 'explicit_lyrics', 'link', 'cover', 'cover_big', 'tracks', 'cover_medium', 'explicit_content_lyrics', 'title', 'tracklist', 'cover_small', 'type', 'rating', 'contributors'])

About

A small set of classes to conveniently access data on Deezer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages