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
Non riesci a trovare un film o una serie Tv? Accedi per crearlo.
Vuoi valutare o aggiungere quest'elemento a una lista?
Non sei un membro?
Risposta da Travis Bell
il 13 maggio, 2014 alle 4:08PM
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.
Risposta da Piero87
il 14 maggio, 2014 alle 6:39PM
ok, thank you for the answer :)
Risposta da Le Quynh Hoa
il 6 ottobre, 2016 alle 11:28PM
Sorry, i still confuse what "credit_id" is used for, could someone please explain more detail. Thank you
Risposta da Travis Bell
il 7 ottobre, 2016 alle 11:05AM
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.
Risposta da gilfoyle
il 14 marzo, 2017 alle 3:12PM
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
Risposta da Travis Bell
il 14 marzo, 2017 alle 3:37PM
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.
Risposta da gilfoyle
il 14 marzo, 2017 alle 4:33PM
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
Risposta da Travis Bell
il 14 marzo, 2017 alle 5:50PM
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?
Risposta da gilfoyle
il 14 marzo, 2017 alle 6:35PM
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
Risposta da Travis Bell
il 14 marzo, 2017 alle 7:00PM
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.
Risposta da gilfoyle
il 14 marzo, 2017 alle 7:05PM
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
Risposta da Travis Bell
il 14 marzo, 2017 alle 7:08PM
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.Risposta da gilfoyle
il 14 marzo, 2017 alle 7:14PM
Is there a match for job id's like there is on genres? That would help.
Risposta da Travis Bell
il 14 marzo, 2017 alle 7:45PM
No, just the job/list method but there are no id's returned with it.