跳到主要内容

获取成员的作品库概览

GET/v1/members/{username}/library/overview

当作品库公开时,返回在看与已看完作品的书架、作品库统计以及成员最常追的类型。

请求

Shell
curl -g "https://api.nogitsu.com/v1/members/{username}/library/overview"

参数

  • username

    路径必填

    成员的用户名。

    文本

  • language

    查询可选

    响应文本的两字母语言代码,例如 en 或 tr。省略时为英语。

    文本

    允许的值entrdefresptitruidjakozh

    默认值:en

响应

请求成功时返回 200 和以下 JSON:

  • shelves对象 列表
    • kind文本
      允许的值screenreading
    • total整数

      0 到 9007199254740991

    • items对象 列表
      • work对象
        • id文本 (uuid)
        • slug文本
        • medium文本
          允许的值animedonghuaanimationmangamanhwamanhuawebtoon
        • publicationFormat文本
          允许的值tvtv_shortmovieovaonaspecialmusicserializedone_shotdoujinlight_novelweb_novel
        • releaseStatus文本
          允许的值not_yet_releasedreleasingfinishedhiatuscancelledunknown
        • title文本
        • nativeTitle文本可为 null
        • romanizedTitle文本可为 null
        • contentRating文本
          允许的值unknownall_agesteenmatureadult
        • startYear整数可为 null

          -9007199254740991 到 9007199254740991

        • cover对象可为 null
          • url文本 (uri)
          • width整数可为 null

            0 到 9007199254740991

          • height整数可为 null

            0 到 9007199254740991

          • blurhash文本可为 null
          • provider文本可为 null
            允许的值anime_offline_databaseanimapanilistmyanimelistanidbanime_news_networkanime_filler_listkitsuanime_planetanisearchtvdbimdbtmdbsimklmangaupdatesmangabakawikipedia
          • variantWidths整数 列表

            0 到 9007199254740991

        • contentWarnings文本 列表
          允许的值violencegoresexual-contentsuicide
      • progress数字可为 null

        至少 0

      • totalUnits整数可为 null

        0 到 9007199254740991

  • stats对象
    • kinds对象 列表
      • kind文本
        允许的值screenreading
      • entryCount整数

        0 到 9007199254740991

      • unitCount整数

        0 到 9007199254740991

    • statuses对象 列表
      • status文本
        允许的值plannedcurrentcompletedpauseddroppedrewatching
      • count整数

        0 到 9007199254740991

    • ratedCount整数

      0 到 9007199254740991

    • meanScoreHalfPoints数字可为 null

      至少 0

  • genres对象 列表
    • slug文本
    • name文本
    • count整数

      0 到 9007199254740991

错误

与所有操作一样,此操作在参数无效时可能返回 400,找不到内容时返回 404,请求过多时返回 429。所有错误的结构都相同。

了解错误