Skip to content

erkghlerngm44/aniffinity

Repository files navigation

ftb1 ftb2 ftb3

aniffinity

pypi travis rtd

"An-knee-fin-knee-tea".

Calculate affinity between anime list users.

What is this?

Calculate affinity between a user and another user on anime list services. Refer to the docs for more info.

Install

pip install aniffinity

Dependencies

  • json-api-doc
  • requests

Example Usage

from aniffinity import Aniffinity

af = Aniffinity("Xinil", base_service="MyAnimeList")

affinity, shared = af.calculate_affinity("Josh", service="AniList")

print(affinity)
# 32.15230953451651
print(shared)
# 31

Available Services

For more info, read the docs.

Documentation

Documentation at https://aniffinity.readthedocs.io

Legal Stuff

Licensed under MIT. See LICENSE for more info.

Cat Gif