GET /api/v1/users/{nick}/stats
userStats
needs people:read
curl https://api.acyka.cc/api/v1/users/someone/stats \
-H "Authorization: Bearer $ACYKA_TOKEN" Asking #
In the address
| field | type | what it is |
|---|---|---|
nick | string | a nickname the account answers to, current or past |
Answering #
200 Stats
The shapes #
Stats #
What somebody's watching adds up to.
| field | type | what it is |
|---|---|---|
planned | number | |
watching | number | |
rewatching | number | |
paused | number | |
done | number | |
dropped | number | |
episodes | number | |
minutes | number | |
rated | number | |
average may be absent | number | undefined |
When it says no #
A refusal is { "message": "errors.something" } — a phrase name and never a
sentence, because one screen can be read in five languages. Every library turns the name into a
type, so you catch the class you can do something about. Errors has
the list.