The Movie Database Support Forum

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 Antworten (Seite 1 von 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

Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.

Allgemein

s Fokus auf Suchfeld
p Profil öffnen
esc Fenster schließen
? Tastenkürzel anzeigen

Videos

b Zurück
e Bearbeiten

Staffeln

Nächste Staffel
Vorherige Staffel

Episoden

Nächste Episode
Vorherige Episode

Bilder

a Poster oder Hintergrundbild hinzufügen

Editieren

t Sprachauswahl öffnen
ctrl+ s Speichern

Diskussionen

n Neue Diskussion erstellen
w Beobachten an / aus
p Diskussion öffentlich / privat
c Diskussion öffnen / schließen
a Diskussionsverlauf anzeigen
r Auf Diskussion antworten
l Letzte Antwort anzeigen
ctrl+ enter Senden
Nächste Seite
Vorherige Seite

Einstellungen

Diesen Eintrag bewerten oder zu einer Liste hinzufügen?

Anmelden