Assistance de TMDB

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 réponse (sur la page 1 sur 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}

Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.

Général

s Mettre le curseur dans la barre de recherche
p Ouvrir le menu du profil
esc Fermer une fenĂŞtre ouverte
? Ouvrir la fenĂŞtre des raccourcis clavier

Sur les pages des médias

b Retour (ou vers le parent si faisable)
e Afficher la page de modification

Sur les pages des saisons des émissions télévisées

Afficher la saison suivante (flèche droite)
Afficher la saison précédente (flèche gauche)

Sur les pages des épisodes des émissions télévisées

Afficher l'épisode suivant (flèche droite)
Afficher l'épisode précédent (flèche gauche)

Sur toutes les pages des images / photos

a Ouvrir la fenĂŞtre d'ajout d'image / photo

Sur toutes les pages de modifications

t Ouvrir le sélecteur de traduction
ctrl+ s Envoyer le formulaire

Sur les pages des discussions

n Créer une nouvelle discussion
w Basculer le statut de suivi
p Basculer publique / privée
c Basculer fermer / ouvrir
a Ouvrir l'activité
r Répondre à la discussion
l Afficher la dernière réponse
ctrl+ enter Envoyer votre message
Page suivante (flèche droite)
Page précédente (flèche gauche)

Paramètres

Vous souhaitez évaluer ou ajouter cet élément à une liste ?

Connexion