Collections

Get collection

Get collection by ID

get/collection/{id}

Request

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

Path parameters

idinteger required

Collection id

Query parameters

limitinteger

Limit of animes

offsetinteger

Offset of animes

Response

Success response

Example response

{
  "response": {
    "title": "Top anime-ongoings 2024",
    "description": "This is [ж]collection[/ж] description with [и]BB-codes[/и]",
    "id": 123,
    "likes": {
      "likes": 12,
      "dislikes": 5,
      "vote": 0
    },
    "language": "ru",
    "animes": [
      {
        "anime_id": 12,
        "anime_status": {
          "title": "вышел",
          "class": "",
          "alias": "released",
          "value": 0
        },
        "anime_url": "anime-alias-123",
        "poster": {
          "small": "https://example.com/small.webp",
          "medium": "https://example.com/medium.webp",
          "big": "https://example.com/big.webp",
          "huge": "https://example.com/huge.webp",
          "fullsize": "https://example.com/fullsize.webp",
          "mega": "https://example.com/mega.webp"
        },
        "rating": {
          "counters": 10,
          "average": 9.23
        },
        "title": "Your name",
        "type": {
          "name": "Спешл",
          "value": 5,
          "shortname": "спешл",
          "alias": "anime-alias-123"
        },
        "year": 2016,
        "description": "Anime description long-long-long...",
        "views": 12345,
        "season": 1,
        "min_age": {
          "value": 5,
          "title": "R+",
          "title_long": "R+ (17+)"
        },
        "user": {
          "list": {
            "is_fav": false,
            "list": {
              "title": "Смотрю",
              "href": "watch_now",
              "id": 0
            }
          },
          "rating": 9.23
        },
        "remote_ids": {
          "worldart_id": 123,
          "worldart_type": "animation",
          "kp_id": 123,
          "anidub_id": 123,
          "sr_id": 123,
          "anilibria_alias": "anilibria-anime-alias",
          "shikimori_id": 123,
          "myanimelist_id": 123
        },
        "top": {
          "global": 23,
          "category": 12
        },
        "blocked_in": [
          "RU"
        ]
      }
    ],
    "owner": {
      "id": 1,
      "nickname": "root",
      "avatars": {
        "big": "https://example.com/big.webp",
        "full": "https://example.com/full.avif",
        "small": "https://example.com/small.webp"
      }
    },
    "create_date": 123455644,
    "views": 123,
    "public": true
  }
}

Changes

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