У библиотеки новый репозиторий: @SantaSpeen/anixart
Pip:
Документация на русском: ТЫК
-
Description:
- RU: Враппер для использования anixart API, наилучшего приложения для просмотра аниме на территории стран СНГ. От себя могу сказать, что библиотека создана лишь для ознакомления. Не советую заниматься такимим вещами как накрутка лайков, имейте уважение к проекту. Если поступят жалобы от администрации проекта, то доступ к репозиторию будет ограничен.
- EN: Wrapper for using the anixart API, the best application for watching anime in the CIS countries. From myself I can say that the library was created for informational purposes only. I do not advise you to do such things as cheat likes,have respect for the project. If complaints are received from the project administration, then access to the repository will be limited.
-
Endpoints: here
Via pip:
pip install -U anixart==0.3.5
from anixart import AnixUserAccount, AnixAPI
anix_user = AnixUserAccount("login", "password")
anix = AnixAPI(anix_user)
print(f"Token: {anix.me.get_token()}; ID: {anix.me.get_id()}")
profile = anix.profile.get()['profile']
nick = profile['login']
status = profile['status']
vk = profile['vk_page']
tg = profile['tg_page']
inst = profile['inst_page']
tt = profile['tt_page']
reg_date = profile['register_date']
print(f"Nick: {nick}\nStatus: {status}\nVk: {vk}\nTg: {tg}\nInst: {inst}\nTt: {tt}\nRegister date: {reg_date}")
-
More about usage: here