Podpora The Movie Database

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

Ne najdete filma ali serije? Prijavite se, da ga/jo ustvarite.

Povsod

s aktiviraj iskalno vrstico
p odpri meni profila
esc zapri odprto okno
? odpri okno za bližnjice

Na predstavnostnih straneh

b pojdi nazaj (ali na starša, kjer je smiselno)
e pojdi na urejanje strani

Na straneh sezon serij

(desna puščica) pojdi na naslednjo sezono
(leva puščica) pojdi na prejšnjo sezono

Na straneh epizod serij

(desna puščica) pojdi na naslednjo epizodo
(leva puščica) pojdi na prejšnjo epizodo

Na vseh slikovnih straneh

a odpri okno za dodajanje slike

Na vseh urejevalnih straneh

t odpri izbirnik prevodov
ctrl+ s pošlji obrazec

Na straneh za razpravo

n ustvari novo razpravo
w preklopi gledalski status
p preklopi javno/zasebno
c preklopi zaprto/odprto
a odpri aktivnost
r odgovori na razpravo
l pojdi na zadnji odgovor
ctrl+ enter objavi sporočilo
(desna puščica) naslednja stran
(leva puščica) prejšnja stran

Settings

Want to rate or add this item to a list?

Prijava