The Movie Database atbalsts

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&region=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.

5 replies (on page 1 of 1)

Jump to last post

Region is case sensitive, you'll want to use this:

https://api.themoviedb.org/3/movie/upcoming?api_key=###&language=de&page=1&region=DE

You'll see the release_date values update with the proper uppercase parameter.

Cheers.

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&region=DE still returns the US region release date.

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.

https://api.themoviedb.org/3/movie/331313?api_key=###&language=de&append_to_response=release_dates

Cheers.

Its now working :) Thanks a lot for your support and this great api ! :)

Happy to hear that! Thanks!

Nevari atrast filmu vai TV pārraidi? Jāpiesakās, lai to izveidotu.

Vispārējs

s fokusēties uz meklēšanas joslu
p atvērt profila izvēlni
esc aizvērt atvērtu logu
? atvērt īsinājumtaustiņu logu

Informācijas nesēju lapās

b atgriezties (vai pie vecākiem, ja nepieciešams)
e doties uz labošanas lapu

TV sezonas lapās

(labā bultiņa) pāriet uz nākamo sezonu
(kreisā bultiņa) pāriet uz iepriekšējo sezonu

TV sērijas lapās

(labā bultiņa) pāriet uz nākamo sēriju
(kreisā bultiņa) pāriet uz iepriekšējo sēriju

Visās attēlu lapās

a atvērt attēla pievienošanas logu

Visās labošanas lapās

t atvērt tulkošanas atlasītāju
ctrl+ s iesniegt veidlapu

Diskusiju lapās

n radīt jaunu diskusiju
w pārslēgt skatīšanās stāvokli
p pārslēgt publisko/privāto
c pārslēgt aizvērt/atvērt
a atklāta darbība
r atbilde uz diskusiju
l doties uz pēdējo atbildi
ctrl+ enter iesniegt savu ziņojumu
(labā bultiņa) nākamajā lapā
(kreisā bultiņa) iepriekšējā lapa

Iestatījumi

Vēlies novērtēt šo vienumu vai pievienot to sarakstam?

Pieteikties