TMDB podrška

I'm using the "Upcoming" endpoint to get a list of upcoming movies. That's returning some movies whose release dates are in the past. For example, it's including "M3GAN" in the list, which was released 2022-2023, and that's the data that's reflected in both the "Upcoming" endpoint and the "Details" endpoint. I have to look at the "Releases" endpoint to see that there's a US release in 2025, which is why it's included.

However, there's no detail for it. All I get is:

{
  "certification": "PG-13",
  "descriptors": [],
  "iso_639_1": "",
  "note": "",
  "release_date": "2025-04-30T00:00:00.000Z",
  "type": 2
},

While looking at the IMDB Release Info for the movie, it specifically calls it out as "(re-release, limited)". Looking at the Release Dates section of the Movie Bible, it doesn't mention re-releases at all, so I assume this isn't a simple concept to add in. It's not a massive issue as they can be filtered client-side, but it is a bit frustrating.

I do wonder, though, why it's looking at the most recent release date, as opposed to the oldest available release date? Generally, if a movie has been released at all in the region for the given release type, I'd say it's no longer "Upcoming".

1 odgovor (na stranici 1 od 1)

Jump to last post

See the NOTE on the page for this request.
https://developer.themoviedb.org/reference/movie-upcoming-list

Note
This call is really just a discover call behind the scenes.
If you would like to tweak any of the default filters head over and read about discover.

I believe this is the solution for your case.
Replace &release_date with &primary_release_date
Maybe this will solve your problem.
But we will only know by experimenting.
See the example of the Request used and my suggested change to meet your desire.

https://api.themoviedb.org/3/discover/movie?include_adult=false&include_video=false&language=en-US&page=1&sort_by=popularity.desc&with_release_type=2|3&release_date.gte={min_date}&release_date.lte={max_date}  
https://api.themoviedb.org/3/discover/movie?include_adult=false&include_video=false&language=en-US&page=1&sort_by=popularity.desc&with_release_type=2|3&primary_release_date.gte={min_date}&primary_release_date.lte={max_date}

Ne možete pronaći film ili TV seriju? prijavite se da biste ga napravili.

Global

s focus the search bar
p otvorite izbornik profila
esc zatvori otvoreni prozor
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(desna strelica) idi na sljedeću sezonu
(left arrow) go to previous season

On TV episode pages

(desna strelica) idi na sljedeću epizodu
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a otvori aktivnost
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(desna strelica) sljedeća stranica
(left arrow) previous page

Postavke

Want to rate or add this item to a list?

Prijavi se