List activity
Read activities from a user or from the people you follow.
GET https://cotlet.dev/api/v1/anilist/activities
read
Returns newest first, with activity ID, type, author, text or the list change, like count and replies. Messages are returned only when you are the sender or recipient. It changes nothing.
Parameters
| Name | Type | Description |
|---|---|---|
| username string | string | Only activity from this user. Leave out for people you follow. |
| type string | string | TEXT, ANIME_LIST, MANGA_LIST or MESSAGE. |
| cursor string | string | Next page cursor from the previous call. |
Request
curl https://cotlet.dev/api/v1/anilist/activities \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("anilist", "list_activity") const result = await cotlet.call('anilist', 'list_activity'); cotlet call anilist list_activity Example response
{
"items": [
{
"activity_id": 912345678,
"type": "TEXT",
"author": "yourname",
"text": "Episode 9 of Frieren hit hard.",
"likes": 3,
"replies": [
{
"author": "friend42",
"text": "Same, the music!"
}
]
}
],
"next_cursor": null
}