diff --git a/deezer/__init__.py b/deezer/__init__.py index 6813e50..cefb136 100644 --- a/deezer/__init__.py +++ b/deezer/__init__.py @@ -4,7 +4,7 @@ from deezer.gw import GW from deezer.api import API import json -__version__ = "0.0.4" +__version__ = "0.0.5" class TrackFormats(): """Number associtation for formats""" diff --git a/deezer/api.py b/deezer/api.py index 2e56631..ab82ee5 100644 --- a/deezer/api.py +++ b/deezer/api.py @@ -216,15 +216,15 @@ class API: def search_radio(self, query, strict=False, order=None, index=0, limit=25): args = self._generate_search_args(query, strict, order, index, limit) - return self.api_call('search/playlist', radio) + return self.api_call('search/radio', args) def search_track(self, query, strict=False, order=None, index=0, limit=25): args = self._generate_search_args(query, strict, order, index, limit) - return self.api_call('search/track', radio) + return self.api_call('search/track', args) def search_user(self, query, strict=False, order=None, index=0, limit=25): args = self._generate_search_args(query, strict, order, index, limit) - return self.api_call('search/user', radio) + return self.api_call('search/user', args) def get_track(self, song_id): return self.api_call(f'track/{str(song_id)}') diff --git a/setup.py b/setup.py index b531f88..216593c 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ README = (HERE / "README.md").read_text() setup( name="deezer-py", - version="0.0.4", + version="0.0.5", description="A wrapper for all Deezer's APIs", long_description=README, long_description_content_type="text/markdown",