The Movie Database-støtte

So i fetched 'Hannibal' by name and got id 40008. When trying to fetch credentials, i receive some chinese movie. Name fetch

"adult": false,
            "backdrop_path": "/vlG182ZY2WMzD5bjFZNnhyvv5V4.jpg",
            "id": 40008,
            "name": "Hannibal",
            "original_language": "en",
            "original_name": "Hannibal",
            "overview": "Both a gift and a curse, Graham has the extraordinary ability to think like his prey—he sees what they see, feels what they feel. But while Graham is pursuing an especially troubling, cannibalistic murderer, Special Agent Jack Crawford teams him with a highly respected psychiatrist – a man with a taste for the criminal minded – Dr. Hannibal Lecter.",
            "poster_path": "/pbV2eLnKSIm1epSZt473UYfqaeZ.jpg",
            "media_type": "tv",
            "genre_ids": [
                18,
                80
            ],
            "popularity": 133.347,
            "first_air_date": "2013-04-04",
            "vote_average": 8.2,
            "vote_count": 2265,
            "origin_country": [
                "US"
            ]

ID fetch:

{
  "id": 40008,
  "cast": [
    {
      "adult": false,
      "gender": 2,
      "id": 118350,
      "known_for_department": "Acting",
      "name": "Cheung Tat-Ming",
      "original_name": "Cheung Tat-Ming",
      "popularity": 10.228,
      "profile_path": "/zq3vkchDeeQXkGWx4ywf7GLQ6BO.jpg",
      "cast_id": 4,
      "character": "Fortune Teller Cheung",
      "credit_id": "52fe457ac3a36847f80c9cb7",
      "order": 0
    },
    {
      "adult": false,
      "gender": 2,
      "id": 92829,
      "known_for_department": "Acting",
      "name": "Matt Chow Hoi-Kwong",
      "original_name": "Matt Chow Hoi-Kwong",
      "popularity": 4.861,
      "profile_path": "/zAZYDCvRUsKd5KjRgSZxxpMPByB.jpg",
      "cast_id": 5,
      "character": "Lo Mong-tak",
      "credit_id": "52fe457ac3a36847f80c9cbb",
      "order": 1
    },
    {
      "adult": false,
      "gender": 0,
      "id": 123657,
      "known_for_department": "Acting",
      "name": "Ha Chun-Chau",
      "original_name": "Ha Chun-Chau",
      "popularity": 0.604,
      "profile_path": null,
      "cast_id": 6,
      "character": "Rich Man Chiu",
      "credit_id": "52fe457ac3a36847f80c9cbf",
      "order": 2
    },
    {
      "adult": false,
      "gender": 1,
      "id": 118741,
      "known_for_department": "Acting",
      "name": "Elanne Kwong",
      "original_name": "Elanne Kwong",
      "popularity": 4.615,
      "profile_path": "/n4Lg27FNmDQBQperBHdJWIM4Yxr.jpg",
      "cast_id": 7,
      "character": "Ling",
      "credit_id": "52fe457ac3a36847f80c9cc3",
      "order": 3
    },
    {
      "adult": false,
      "gender": 2,
      "id": 74193,
      "known_for_department": "Acting",
      "name": "Sam Lee",
      "original_name": "Sam Lee",
      "popularity": 6.232,
      "profile_path": "/8bPqONKhCJkYKGPL0wKhdjR1Shv.jpg",
      "cast_id": 8,
      "character": "Sam",
      "credit_id": "52fe457ac3a36847f80c9cc7",
      "order": 4
    },
... etc.

2 svar (på side 1 av 1)

Jump to last post

name endpoint : https://api.themoviedb.org/3/search/multi?query=hannibal&include_adult=false&language=en-US&page=1 cast endpoint: https://api.themoviedb.org/3/movie/40008/credits?language=en-US

"Hannibal" is a TV series, not a movie. You need to use https://api.themoviedb.org/3/tv/40008/aggregate_credits?language=en-US

You need to check the "media_type" value in the result of search/multo to know the type of the result returned.

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p åpne profilmenyen
esc lukk et åpent vindu
? open keyboard shortcut window

On media pages

b gå tilbake (eller til foreldresiden når mulig)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Innstillinger

Vil du vurdere eller legge til dette elementet i en liste?

Logg inn