Inbox (technical)

Bugs, ideas, questions and suggestions about MangaBaka.

New title statistics endpoint

opened by
B
bartolumiu (contributor)
4 weeks, 20 hours
Considering API New feature

## The problem

Have a way to fetch statistics for a given title without having to fetch the entire title data, including both third party stats as well as our own anonymised user rating distribution.

## The idea

Add a new endpoint (e.g. `GET /v2/statistics/series/:id`) to fetch statistics without having to fetch the entire series response + also expose anonymised user rating distributions.

Example response structure: ```json { "status": 200, "data": { "average": 0.0, "external_sources": { "anilist": 32, "animenewsnetwork": null, "animeplanet": 56.7, "kitsu": 52.8, "mangaupdates": null, "myanimelist": 98.0, "shikimori": 63.3 }, "mangabaka": { "average": null, "distribution": { ... }, "count": 0 }, "follows": 0 } } ```

## Today

It's not possible.

## Links

- https://discord.com/channels/1345354242163998764/1484572924487925921/1484572924487925921

Comments

Loading comments...