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:
RemixDev 2020-12-02 18:48:03 +03:00
commit 4517ed2baf

View file

@ -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):