"An-knee-fin-knee-tea".
Calculate affinity between anime list users.
Calculate affinity between a user and another user on anime list services. Refer to the docs for more info.
pip install aniffinity
- json-api-doc
- requests
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
For more info, read the docs.
Documentation at https://aniffinity.readthedocs.io
Licensed under MIT. See LICENSE for more info.