Watch It? Track It.

人物的 base.json 包含其详细信息和作品年表;名称、简介和别名位于语言文件中。

文件

  • https://api.watchittrackit.com/v1/person/{id}/base.json
  • https://api.watchittrackit.com/v1/person/{id}/{lang}.json

图片是一个包含 full 和 thumb 路径的对象。

base.json

字段类型说明
typestring记录类型。
idnumberTheTVDB id。
slugstringURL slug,在同一类型内唯一。
popularitynumberTheTVDB 热度分数,越高越热门。分数仅在同一类型内可比较。
deletedboolean如果记录已被删除则为 true。其文件仍保持发布。
birthDatestring出生日期(YYYY-MM-DD)。
deathDatestring逝世日期(如有)。
genderstringmale, female or other。
birthPlacestring出生地。
racestring族裔(如已知)。
externalLinks{ source, url }[]该人物在其他网站的资料链接:来源和 URL。
imageimage主图:作品为海报,人物为照片。
filmographyfilmography[]其在剧集和电影中的全部署名。
languagesstring[]此记录拥有文件的语言。
remoteIds{ [site]: string }在其他网站(imdb, tmdb, wikidata, …)上的 id,以网站为键。

示例

{
  "type": "person",
  "id": 255211,
  "slug": "bryan-cranston",
  "popularity": 140,
  "deleted": false,
  "birthDate": "1953-03-07",
  "gender": "male",
  "birthPlace": "Hollywood, California, USA",
  "image": { "full": "/images/person/255211/1705696844.jpg", "thumb": "/images/person/255211/1705696844.t.jpg" },
  "filmography": [
    { "recordType": "tv", "recordId": 81189, "recordSlug": "breaking-bad", "title": "Breaking Bad",
      "roleType": "Actor", "character": "Walter White", "popularityRank": 1 }
  ],
  "languages": ["de", "en"],
  "remoteIds": { "imdbperson": "nm0186505" }
}

作品年表

字段类型说明
recordTypestring作品类型(tv or movie)。
recordIdnumber作品的 id。
recordSlugstring作品的 slug。
titlestring作品名称。
roleTypestring署名类型,例如 Actor or Director。
characterstring饰演的角色(表演类署名)。
popularityRanknumber该作品在其全部署名中的热度排名(1 为最热门)。

语言文件

字段类型说明
typestring记录类型。
idnumberTheTVDB id。
langstring此文件的语言。
namestring此语言下的名称。
biographystring此语言下的简介。
aliasesstring[]此语言下的其他名称。
filmography{ [titleId]: string }按作品 id:作品在此语言下的名称。

示例

{
  "type": "person",
  "id": 327412,
  "lang": "en",
  "name": "Zendaya",
  "biography": "Actress, producer Zendaya Maree Stoermer Coleman…",
  "aliases": ["Zendaya Maree Stoermer Coleman"],
  "filmography": { "81189": "Breaking Bad" }
}