added interactive mode

This commit is contained in:
nathom 2021-03-22 22:27:33 -07:00
parent c79cbbd6f4
commit 5abe14aeb9
5 changed files with 77 additions and 14 deletions

View file

@ -359,6 +359,7 @@ class DeezerClient(ClientInterface):
self.session = requests.Session()
self.logged_in = True
@region.cache_on_arguments(expiration_time=RELEASE_CACHE_TIME)
def search(self, query: str, media_type: str = "album", limit: int = 200) -> dict:
"""Search API for query.