键盘快捷键
高级搜索
Hi.
I am wondering if it is possible to search the API for movies by a title and find the classification assigned to that movie?
Any help is appreciated,
Thanks
Hi @jkm_,
You bet. You should take a look at the /release_dates method. A list of the officially supported certifications can be found here. This is useful to know if you're using any of the discover methods.
Awesome, that's wicked!
I don't seem to be able to do this? I only get the Adult (boolean) field back :(
It sounds like you're not parsing the JSON properly. Take a look at how you're parsing the response body.
https://api.themoviedb.org/3/movie/550?api_key=### https://api.themoviedb.org/3/movie/550/release_dates?api_key=###
Or better yet, as a single call:
https://api.themoviedb.org/3/movie/550?api_key=###&append_to_response=release_dates
Edit:
I am silly,
I get you.
Thanks Travis have a good weekend
找不到电影或节目?登录并创建它吧。
登录
注册
想给这个条目评分或将其添加到片单中?
还不是会员?
注册加入社区
Travis Bell 的回复
于 2016 年 10 月 07 日 10:34上午
Hi @jkm_,
You bet. You should take a look at the /release_dates method. A list of the officially supported certifications can be found here. This is useful to know if you're using any of the discover methods.
jkm_ 的回复
于 2016 年 10 月 07 日 10:35上午
Awesome, that's wicked!
Thanks
jkm_ 的回复
于 2016 年 10 月 07 日 10:44上午
I don't seem to be able to do this? I only get the Adult (boolean) field back :(
Travis Bell 的回复
于 2016 年 10 月 07 日 10:51上午
It sounds like you're not parsing the JSON properly. Take a look at how you're parsing the response body.
Or better yet, as a single call:
jkm_ 的回复
于 2016 年 10 月 07 日 10:52上午
Edit:
I am silly,
I get you.
Thanks Travis have a good weekend