Hi,
I have a little problem. So the region parameter is awesome ! So I use request like https://api.themoviedb.org/3/movie/upcoming?api_key=???&language=de&page=1®ion=de and get the movies that are upcoming in Germany. The list seems to have the right data. However it knows that some movies are upcoming in Germany, but on the other side it gives me release dates that are in the past, even with the region parameter.
Kan du inte hitta en film eller tv-serie? Logga in för att skapa den.
Vill du betygsätta denna artikel eller lägga till den i en lista?
Inte medlem?
Svar från Travis Bell
den 16 mars 2017 vid 1:42 PM
Region is case sensitive, you'll want to use this:
You'll see the
release_date
values update with the proper uppercase parameter.Cheers.
Svar från chris.mayr22
den 16 mars 2017 vid 3:09 PM
Ah ok I see, thank you :) Region is not possible for the movie details, right ? So this https://api.themoviedb.org/3/movie/331313?api_key=###&language=de®ion=DE still returns the US region release date.
Svar från Travis Bell
den 18 mars 2017 vid 11:28 AM
Correct but that's because it's trivial to call /release_dates with
append_to_response
. You can then filter the data locally however you like.Cheers.
Svar från chris.mayr22
den 21 mars 2017 vid 4:02 PM
Its now working :) Thanks a lot for your support and this great api ! :)
Svar från Travis Bell
den 22 mars 2017 vid 10:36 AM
Happy to hear that! Thanks!