I'm currently building a website that processes data of specific movies by entering the tmdb-ID.
For the new Guardians of the Galaxy the release date in Germany is 27th of April, but as of right now i can't find a way to retrieve that kind of data from my query. My query only has "release_date" which seems to be the default US-release date.
https://api.themoviedb.org/3/movie/283995?api_key=<>
I tried adding things like "&language=de-DE®ion=DE", but that only translates the content like genre, description, etc.
Is there any way to get an extra field as a result so that i can catch the region-specific release date from that?
فیلم و نمایش تلویزیونی را نمیتوانید پیدا کنید؟ به سیستم وارد شوید تا آن را ایجاد کنید.
آیا میخواهید به این مورد امتیاز دهید یا به فهرست اضافه کنید؟
عضو نیستید؟
پاسخ توسط jeras
در تاریخ فوریه 27, 2017 ساعت 6:24 ب.ض
See:
https://developers.themoviedb.org/3/movies/get-movie-release-dates
For example:
https://api.themoviedb.org/3/movie/283995/release_dates?api_key=####
You'll have to filter the returned data by country by looking at the contained iso_3166_1 fields, because to my knowledge there is no way to specify that in the query itself.
Alternatively, you could also do something like:
https://api.themoviedb.org/3/movie/283995?api_key=####&append_to_response=release_dates
if you already need to query the main movie data for some other reason. But, again, there is no way to pre-filter the release dates by country that I know of.
پاسخ توسط Travis Bell
در تاریخ مارس 1, 2017 ساعت 6:54 ب.ض
@jeras Is correct, since you can use
append_to_response
to include the release date data in your query, you can figure it out on your end.