initial yandex music
This commit is contained in:
10
lib/YandexPlayer.py
Normal file
10
lib/YandexPlayer.py
Normal file
@@ -0,0 +1,10 @@
|
||||
import os
|
||||
|
||||
from yandex_music import Client
|
||||
|
||||
client = Client(os.getenv('Yandex_Token')).init()
|
||||
|
||||
|
||||
def _search(self, _str: str, _type: str):
|
||||
search_result = client.search(_str, type_=_type)
|
||||
pass
|
||||
Reference in New Issue
Block a user