mirror of
https://gitlab.com/RemixDev/deezer-py.git
synced 2024-12-29 10:56:13 +00:00
Merge branch 'lidarr-api' into 'main'
Add search_album and get_new_releases Closes #1 See merge request RemixDev/deezer-py!1
This commit is contained in:
commit
4517ed2baf
10
deezer/gw.py
10
deezer/gw.py
|
@ -227,6 +227,16 @@ class GW:
|
|||
"top_tracks": top_tracks
|
||||
})
|
||||
|
||||
def search_music(self, query, type, index=0, limit=10):
|
||||
return self.api_call('search.music',
|
||||
{
|
||||
"query": query,
|
||||
"filter": "ALL",
|
||||
"output": type,
|
||||
"start": index,
|
||||
"nb": limit
|
||||
})
|
||||
|
||||
# Extra calls
|
||||
|
||||
def get_artist_discography_tabs(self, art_id, limit=100):
|
||||
|
|
Loading…
Reference in a new issue