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?
Ne najdete filma ali serije? Prijavite se, da ga/jo ustvarite.
Want to rate or add this item to a list?
Not a member?
jeras je odgovoril
dne februar 27, 2017 ob 6:24 PM
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 je odgovoril
dne marec 1, 2017 ob 6:54 PM
@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.