Supporto The Movie Database

Hello, i have found in the movie credit API request, this key: "cast_id" and "credit_id", but I do not understand the use that I can do with these two values, i can use that key for something?

thanks

14 risposte (nella pagina 1 di 1)

Jump to last post

Hi Piero87,

Cast & crew credits were changed when we launched TV. Starting with TV the credit_id value is a unique value for you to be able to identify a unique credit if there is more than one credit added per person for a movie or TV show/season/episode. You can look up this id with the /credit/:id method. I haven't updated this method to support movie credit IDs yet, that will be arriving shortly.

A few months after TV launched, we finally migrated the movie credits to the newer credit system so that both system were powered by the same system. Before this, cast_id was the same unique value, there for the same reason but there was no 3rd party lookup like there is for credits. It was left in the response as to make sure we didn't break any existing clients that relied on it.

Cheers.

ok, thank you for the answer :)

Sorry, i still confuse what "credit_id" is used for, could someone please explain more detail. Thank you

Hi @Le Quynh Hoa,

It's used as the identifier for the particular credit record. If you make a call for some TV credits:

https://api.themoviedb.org/3/tv/1396/credits?api_key=###

And take a look at Bryan Cranston's record, with the id 52542282760ee313280017f9, you can query it to get the details of that particular record, outside of the TV namespace:

https://api.themoviedb.org/3/credit/52542282760ee313280017f9?api_key=###

You might not have a use for that query, which is fine but the id is useful so that you have a way of referencing the record on TMDb. If someone deletes that person and re-adds them, they will have a different ID so you know it changed and you can invoke whatever logic is important to you given those conditions.

Hi. Following this instructions, i can get the info for this credit ID: 52542282760ee313280017f9 (Breaking Bad","original_name":"Breaking Bad","character":"Walter White"...etc). It's not working for movies yet? I tested this credit id for Clint Eastwood on Gran Torino: 52fe454f9251416c750523ff. It gives me a 34 error. {"status_code":34,"status_message":"The resource you requested could not be found."}

Tested multiple credits for Gran Torino from this request: https://api.themoviedb.org/3/movie/13223?api_key=8277ae593821f15114e4b063f6ff057b&append_to_response=credits

Also tryed Emi Rossum on Shameless without a problem. I can't get it on movies. https://api.themoviedb.org/3/credit/5258d807760ee346617130a4?api_key=8277ae593821f15114e4b063f6ff057b

I need to retrieve the info on what job/role people play on movies. Am I on the right path? Sorry for digging up this thread. Regards

There's a bug right now preventing credits from being retrieved properly. I'm hoping to get it fixed sometime in the near of future.

You mean, a bug instead of big, right? I have a project to present on the 5th April. I was counting on your api for this, do you think it will be solved before this date?

Regards

You mean, a bug instead of big, right?

Yes, of course.

I have a project to present on the 5th April. I was counting on your api for this, do you think it will be solved before this date?

Not sure. Is there a reason the data returned in the movie credits method isn't enough? What were you looking for specifically?

I need to know what part each people play on movie. Clint Eastwood is director and actor, possibly producer on a certain number of films. Million dollar baby and gran Torino are two cases where this happens. I manage to get every part/role/job for TV shows, but can't do it for movies. Was I clear? I need to know how rough get this info so I can't finish my data model. Thanks and Regards

If you're coming at it from a movie ID, you can use the method I linked to above. It has all of cast & crew for a movie. If you're coming at from the person ID, you can use one of either the movie credits, tv credits or combined credits methods.

What you're looking for is possible with one of the 4 methods I've linked to.

Yes. I'm not testing now. Will test tomorrow. From what I remember, those methods don t have id's for each "job", do they? Will look into it tomorrow. Thanks for your help. Regards

Yes, the credit_id (which is what I think you're referring to) is returned in each of those method. There's nothing you can really do with them though, other than use the ID to track that the credit is the same.

Is there a match for job id's like there is on genres? That would help.

No, just the job/list method but there are no id's returned with it.

Non riesci a trovare un film o una serie Tv? Accedi per crearlo.

Globale

s focalizza la barra di ricerca
p apri menu profilo
esc chiudi una finestra aperta
? apri finestra scorciatoia tastiera

Su tutte le pagine di media

b torna indietro (o al precedente quando applicabile)
e vai alla pagina di modifica

Nelle pagine delle stagioni TV

(freccia destra) vai alla stagione successiva
(freccia sinistra) vai alla stagione precedente

Nelle pagine degli episodi TV

(freccia destra) vai all'episodio successivo
(freccia sinistra) vai all'episodio precedente

Su tutte le pagine di immagini

a apri finestra aggiungi immagine

Su tutte le pagine di modifica

t apri selettore traduzione
ctrl+ s invia modulo

Sulle pagine di discussione

n crea nuova discussione
w segna come visto/non visto
p cambia publico/privato
c cambia chiuso/aperto
a apri attivita
r rispondi alla discussione
l vai all'ultima risposta
ctrl+ enter invia il tuo messaggio
(freccia destra) pagina successiva
(freccia sinistra) pagina precedente

Impostazioni

Vuoi valutare o aggiungere quest'elemento a una lista?

Accedi