SantaSpeen / anixart-abandoned

Anixart api

Home Page:https://anixart.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

У библиотеки новый репозиторий: @SantaSpeen/anixart

anixart

Anixart API wrapper.

Magic

PyPi version PyPI license GitHub commits Documentation Status

Pip:

PyPI download month PyPI download week

Документация на русском: ТЫК

  • 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

  • Contacts: Vk, Tg.

Install:

Via pip:

  • pip install -U anixart==0.3.5

Use:

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