The Movie Database atbalsts

Hi guys, thanks for your amazing work. The endpoint upcoming is returning old data, I know release date is different for each country, but i'm getting like film 50 years old, or 25 years old, or from the last year. I leave a LINK to show to you the log (title is title|originaltitle and date is releasedate).

I know I could use the discover endpoint, but it's a bit more tricky. Thanks.

6 replies (on page 1 of 1)

Jump to last post

I checked the first 5 of these movies and they appear correct :

The upcoming endpoint check all the release dates listed for each movie.

thanks for the reply, so if I'd like to get the first 20 upcoming movie in US, which original release date (mean no re-release or something similar) is bigger then today, how to do it? I'm pretty confused

You need to use discover

  • either with check on the primary_release_date to only check the first release date
  • or a region parameter and with check on the release_date to only check on all the dates in a specific region.

I'm not sure that you can combine the 2.

@c-gian said:
upcoming endpoint return film really old
Hi guys, thanks for your amazing work.
The endpoint upcoming is returning old data,
I know release date is different for each country, but i'm getting like film 50 years old, or 25 years old, or from the last year.
I leave a LINK to show to you the log (title is title|originaltitle and date is releasedate).
I know I could use the discover endpoint, but it's a bit more tricky.
Thanks.

and

thanks for the reply,
so if I'd like to get the first 20 upcoming movie in US,
which original release date (mean no re-release or something similar) is bigger then today,
how to do it? I'm pretty confused

I think you didn't specify the Region value.
Try this:

https://api.themoviedb.org/3/movie/upcoming?language=en-US&page=1&region=US  

This should eliminate movies released in other countries.
But it won't eliminate re-releases in your country, US.
To eliminate re-releases, just use Discover with the &with_release_type= filter.
I think with parameters 3|2
&with_release_type=3|2

*Movie Release Type* (with_release_type string)
ID  Release Type
1   Premiere
2   Theatrical (limited)
3   Theatrical
4   Digital
5   Physical
6   TV

It's important to note the order of the release types that are used.
Specifying 2|3 would return the limited theatrical release date as opposed to 3|2 which would return the theatrical date.

@ticao2 said:

To eliminate re-releases, just use Discover with the &with_release_type= filter.
I think with parameters 3|2
&with_release_type=3|2

This will not eliminate theatrical re-release like the Wicked case in its original list of movies.

@superboy97 said:

@ticao2 said:

To eliminate re-releases, just use Discover with the &with_release_type= filter.
I think with parameters 3|2
&with_release_type=3|2

This will not eliminate theatrical re-release like the Wicked case in its original list of movies.

Yes.
We do not have a separate re-release from a release.
I also don't know if using the &year filter, or delimiting the time using &primary_release_date.gte and &primary_release_date.lte can solve the problem.
Only the user can find out by testing.


EDIT
Maybe in Wicked's case it will work.
The re-release is as 2 Theatrical (limited)
So it should get 3 Theatrical

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