„The Movie Database“ palaikymas

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 atsakė (on page 1 iš 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.

Negalite rasti filmo ar TV laidos? Prisijunkite, kad sukurtumėte.

Bendras

s susitelkti į paieškos juostą
p profilio meniu
esc uždarykite atidarytą langą
? spartieji klavišai

Medijų puslapiuose

b grįžkite atgal (arba tėvams leidus)
e į redagavimo puslapį

TV sezono puslapiuose

(dešinė rodyklė) sekantis sezonas
(kairė rodyklė) ankstesnis sezonas

TV epizodo puslapiuose

(dešinė rodyklė) sekantis epizodas
(kairė rodyklė) ankstesnis epizodas

Visuose atvaizdžio puslapiuose

a atverti atvaizdžio pridėjimo langą

Visuose redagavimo puslapiuose

t vertimo parinktys
ctrl+ s pateikti formą

Diskusijų puslapiuose

n sukurti naują diskusiją
w perjungti peržiūros būseną
p perjungti viešasis / privatus
c perjungti uždaryti / atidaryti
a peržiūrėti aktyvumą
r atsakyti į pokalbį
l į paskutinį atsakymą
ctrl+ enter pateikti pranešimą
(dešinė rodyklė) sekantis puslapis
(kairė rodyklė) ankstesnis puslapis

Nustatymai

Norite įvertinti ar įtraukti šį elementą į sąrašą?

Prisijungti