initial yandex music

This commit is contained in:
bacon
2024-03-09 11:47:06 +03:00
parent be76027581
commit 805dc7c71e
5 changed files with 20 additions and 15 deletions

10
lib/YandexPlayer.py Normal file
View 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