From e020592d18bcaf8cc086e926fa9dfc677c5cb755 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Sat, 19 Sep 2020 17:50:03 +0200 Subject: [PATCH] Added #33 --- deemix/api/deezer.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deemix/api/deezer.py b/deemix/api/deezer.py index 95d651a..4c7dded 100755 --- a/deemix/api/deezer.py +++ b/deemix/api/deezer.py @@ -629,6 +629,9 @@ class Deezer: def get_artist_albums(self, artist_id): return self.api_call('artist/' + str(artist_id) + '/albums', {'limit': -1}) + def get_artist_related(self, artist_id): + return self.api_call('artist/' + str(artist_id) + '/related', {'limit': -1}) + def search(self, term, search_type, limit=30, index=0): return self.api_call('search/' + search_type, {'q': clean_search_query(term), 'limit': limit, 'index': index})