Friends

Get users friends from list

Get user friends in specific list list_id

get/users/{id}/friends/{list_id}

Request

  • Base URL: https://api.yani.tv
  • URL: https://api.yani.tv/users/{id}/friends/{list_id}
  • Auth: none declared

Path parameters

idinteger required

User ID

list_id'friends' | 'followers' | 'following' | 'requests' | 'sent-requests' required

Friend list id

Response

Success response

Example response

{
  "response": [
    {
      "sex": 2,
      "avatars": {
        "big": "https://example.com/big.webp",
        "full": "https://example.com/full.avif",
        "small": "https://example.com/small.webp"
      },
      "banned": false,
      "ids": {
        "shikimori": {
          "id": 1,
          "nickname": "shiki_nickname"
        },
        "tg_nickname": "tg_nickname",
        "vk": 12345
      },
      "id": 123,
      "nickname": "nickname",
      "last_online": 1104537600,
      "list": "friends",
      "roles": [
        "root",
        "editorPlus"
      ],
      "friend_status": "friends"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.