diff --git a/deezer/gw.py b/deezer/gw.py index c86afa56cbfda2ee39c7d3fb1e25c8322d21970b..90abc0b8959d29cc723c151421c764f695309179 100644 --- a/deezer/gw.py +++ b/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):