Podpora The Movie Database

Hello everyone 👋,

I know there is the Movie endpoint /upcoming and /now_playing but those return lists of EVERYTHING that's playing. While there's obviously a way we can ingest and parse that data to answer the question of what movies are currently in theaters or about to be, I was wondering if there's a better way to know if a specific movie (like when getting movie details by id) is in theaters. I know the two endpoints I mentioned claim to calculate movies that have release types 2 & 3 in a date range, but I honestly feel like it's (correctly) showing me movies that don't fit that range right now. Any help you can offer is appreciated!

3 odpovědí (na stránce 1 z 1)

Jump to last post

@SaidThat said:
Detect if a specific movie is in theaters
Hello everyone 👋,

I know there is the Movie endpoint /upcoming and /now_playing but those return lists of EVERYTHING that's playing.
While there's obviously a way we can ingest and parse that data to answer the question of what movies are currently in theaters or about to be,
I was wondering if there's a better way to know if a specific movie (like when getting movie details by id) is in theaters.
I know the two endpoints I mentioned claim to calculate movies that have release types 2 & 3 in a date range,
but I honestly feel like it's (correctly) showing me movies that don't fit that range right now.
Any help you can offer is appreciated!

Are you using the Region parameter?
Maybe it solves part of the problem.

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

You know I totally thought I did, but I wonder if I somehow had a stupid typo in my query. That definitely seems to make the date ranges at least match up, which is interesting... I guess just parsing through this data is considered the best method then?

@SaidThat said:
You know I totally thought I did, but I wonder if I somehow had a stupid typo in my query.
That definitely seems to make the date ranges at least match up, which is interesting...
I guess just parsing through this data is considered the best method then?

In the data here from TMDb I believe so.
In the case of now_playing it may not be very accurate.
We have the premiered release date but we don't have the date that ended in the cinema.

Nemůžete nalézt film nebo seriál? Přihlaste se pro jeho vytvoření.

Globální

s zaměřit panel hledání
p otevřít nabídku profilu
esc zavřít otevřené okno
? otevřít okno klávesových zkratek

Na stránkách médií

b zpět (nebo na nadřazený záznam, pokud to jde)
e na stránku úprav

Na stránkách sezón

(šipka vpravo) na další sezónu
(šipka vlevo) na předchozí sezónu

Na stránkách epizod

(šipka vpravo) na další epizodu
(šipka vlevo) na předchozí epizodu

Na všech stránkách obrázků

a otevřít okno přidání obrázku

Na všech stránkách úprav

t otevřít výběr překladu
ctrl+ s odeslat formulář

Na stránkách diskusí

n vytvořit novou diskusi
w přepnout stav zhlédnutí
p přepnout veřejný a soukromý
c přepnout zavřít a otevřít
a otevřít aktivitu
r odpovědět na diskusi
l na poslední odpověď
ctrl+ enter odeslat zprávu
(šipka vpravo) další stránka
(šipka vlevo) předchozí stránka

Nastavení

Want to rate or add this item to a list?

Přihlásit se