Users
Get user by nickname
Get user by nickname
get/users/{nickname}
Request
- Base URL: https://api.yani.tv
- URL: https://api.yani.tv/users/{nickname}
- Auth: none declared
Path parameters
nicknamestring required
User nickname
Query parameters
need_countsboolean
Return field lists_count in response object
Response
Success response
Example response
{
"response": {
"id": 1,
"nickname": "nickname",
"about": "About text",
"banned": false,
"ids": {
"shikimori": {
"id": 1,
"nickname": "shiki_nickname"
},
"tg_nickname": "tg_nickname",
"vk": 12345
},
"avatars": {
"big": "https://example.com/big.webp",
"full": "https://example.com/full.avif",
"small": "https://example.com/small.webp"
},
"bdate": 1104537600,
"last_online": 1104537600,
"sex": 0,
"roles": [
"editorPlus"
],
"register_date": 1104537600,
"texts": {
"color": 123,
"left": "left text",
"right": "right text"
},
"banner": {
"cropped": "https://example.com/cropped.webp",
"full": "https://example.com/full.avif"
},
"watches": {
"sum": [
{
"shortname": "OVA",
"name": "OVA",
"spent_time": 12345,
"value": 0,
"alias": "ova"
}
],
"history": [
{
"when": 12345,
"ep_count": 12,
"duration": 12345
}
]
},
"days_online": 123,
"oldNicknames": [
{
"nickname": "nickname-old",
"date": 123466455
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.