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?
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.
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.
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."}
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?
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.
Travis Bell 的回复
于 2014 年 05 月 13 日 4: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.
Piero87 的回复
于 2014 年 05 月 14 日 6:39下午
ok, thank you for the answer :)
Le Quynh Hoa 的回复
于 2016 年 10 月 06 日 11:28下午
Sorry, i still confuse what "credit_id" is used for, could someone please explain more detail. Thank you
Travis Bell 的回复
于 2016 年 10 月 07 日 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.
gilfoyle 的回复
于 2017 年 03 月 14 日 3: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
Travis Bell 的回复
于 2017 年 03 月 14 日 3: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.
gilfoyle 的回复
于 2017 年 03 月 14 日 4: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
Travis Bell 的回复
于 2017 年 03 月 14 日 5: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?
gilfoyle 的回复
于 2017 年 03 月 14 日 6: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
Travis Bell 的回复
于 2017 年 03 月 14 日 7: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.
gilfoyle 的回复
于 2017 年 03 月 14 日 7: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
Travis Bell 的回复
于 2017 年 03 月 14 日 7: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.gilfoyle 的回复
于 2017 年 03 月 14 日 7:14下午
Is there a match for job id's like there is on genres? That would help.
Travis Bell 的回复
于 2017 年 03 月 14 日 7:45下午
No, just the job/list method but there are no id's returned with it.