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
¿No encuentras una película o serie? Inicia sesión para crearla:
¿Quieres puntuar o añadir este elemento a una lista?
¿No eres miembro?
Contestado por Travis Bell
el 13 de mayo de 2014 a las 16:08
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.
Contestado por Piero87
el 14 de mayo de 2014 a las 18:39
ok, thank you for the answer :)
Contestado por Le Quynh Hoa
el 6 de octubre de 2016 a las 23:28
Sorry, i still confuse what "credit_id" is used for, could someone please explain more detail. Thank you
Contestado por Travis Bell
el 7 de octubre de 2016 a las 11:05
Hi @Le Quynh Hoa,
It's used as the identifier for the particular credit record. If you make a call for some TV credits:
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: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.
Contestado por gilfoyle
el 14 de marzo de 2017 a las 15:12
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
Contestado por Travis Bell
el 14 de marzo de 2017 a las 15:37
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.
Contestado por gilfoyle
el 14 de marzo de 2017 a las 16:33
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
Contestado por Travis Bell
el 14 de marzo de 2017 a las 17:50
Yes, of course.
Not sure. Is there a reason the data returned in the movie credits method isn't enough? What were you looking for specifically?
Contestado por gilfoyle
el 14 de marzo de 2017 a las 18:35
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
Contestado por Travis Bell
el 14 de marzo de 2017 a las 19:00
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.
Contestado por gilfoyle
el 14 de marzo de 2017 a las 19:05
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
Contestado por Travis Bell
el 14 de marzo de 2017 a las 19:08
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.Contestado por gilfoyle
el 14 de marzo de 2017 a las 19:14
Is there a match for job id's like there is on genres? That would help.
Contestado por Travis Bell
el 14 de marzo de 2017 a las 19:45
No, just the job/list method but there are no id's returned with it.