API
인물의 base.json에는 상세 정보와 필모그래피가 담겨 있으며, 이름, 약력, 별칭은 언어 파일에 있습니다.
파일
https://api.watchittrackit.com/v1/person/{id}/base.jsonhttps://api.watchittrackit.com/v1/person/{id}/{lang}.json
이미지는 full과 thumb 경로를 가진 객체입니다.
base.json
| 필드 | 유형 | 설명 |
|---|---|---|
| type | string | 레코드 유형. |
| id | number | TheTVDB id. |
| slug | string | URL 슬러그. 유형 내에서 고유합니다. |
| popularity | number | TheTVDB 인기 점수. 높을수록 인기가 많습니다. 같은 유형 안에서만 비교할 수 있습니다. |
| deleted | boolean | 레코드가 삭제되었으면 true입니다. 파일은 계속 공개됩니다. |
| birthDate | string | 생년월일(YYYY-MM-DD). |
| deathDate | string | 사망일(있는 경우). |
| gender | string | male, female 또는 other. |
| birthPlace | string | 출생지. |
| race | string | 민족(알려진 경우). |
| externalLinks | { source, url }[] | 다른 곳에 있는 인물 프로필 링크: 출처와 URL. |
| image | image | 대표 이미지: 작품은 포스터, 인물은 사진. |
| filmography | filmography[] | 시리즈와 영화 전반의 크레딧. |
| languages | string[] | 이 레코드에 파일이 있는 언어. |
| 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" }
}필모그래피
| 필드 | 유형 | 설명 |
|---|---|---|
| recordType | string | 작품의 유형(tv or movie). |
| recordId | number | 작품의 id. |
| recordSlug | string | 작품의 슬러그. |
| title | string | 작품의 이름. |
| roleType | string | 크레딧 종류(예: Actor or Director). |
| character | string | 맡은 배역(연기 크레딧). |
| popularityRank | number | 이 인물의 크레딧 중 작품의 인기 순위(1이 가장 높음). |
언어 파일
| 필드 | 유형 | 설명 |
|---|---|---|
| type | string | 레코드 유형. |
| id | number | TheTVDB id. |
| lang | string | 이 파일의 언어. |
| name | string | 이 언어로 된 이름. |
| biography | string | 이 언어로 된 약력. |
| aliases | string[] | 이 언어로 된 다른 이름. |
| 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" }
}