✨ Add ability to get user affinity
Katsute opened this issue · 2 comments
Katsute commented
Prerequisites
If all checks are not passed then the feature request will be closed.
- I have checked that no other similar feature request already exists.
- I have checked that this feature does not already exist.
- This feature request makes sense for the project.
Feature
Explain your feature. Add any examples here.
Add ability to get affinity to another user.
Methods to be added (2 for each b/c Anime/Manga affinity is different):
User#getAffinity()
get that user's affinity with selfUser#getAffinity(String)
orUser#getAffinity(User)
get user affinity with another user(too much noise)MyAnimeList#getAffinity(String, String)
orMyAnimeList#getAffinity(User, User)
get affinity between two users
Exception may be thrown if user keeps list private (add to FAQ)
Reason
Explain why you thing this feature should be added.
It is unlikely that this feature will be fulfilled by the API and this is a popular feature.
Katsute commented
This should return a custom affinity object with:
- Shared Anime/Manga
Average diff- MAL Affinity score calculation
- Custom affinity score calculation using a functional interface that accepts two lists and returns a float.
Katsute commented
Feature will be added at later date