„The Movie Database“ palaikymas

I couldn't find proper upcoming movies data from apis. Please give a solution.

8 atsakė (on page 1 iš 1)

Jump to last post

@bhanu23 said:

... upcoming movies data from apis. ...

I assume you want to use the API.
So I suggest you look at these two pages:
https://www.themoviedb.org/documentation/api/discover
https://developers.themoviedb.org/3/discover/movie-discover

I am also using this url /discover/movie its working, but talking about this url https://api.themoviedb.org/3/movie/upcoming?api_key=[api-key]&language=en-US&page=1, In this url data not get proper, in which include past date movies.

@bhanu23 said:

I am also using this url /discover/movie its working, but talking about this url https://api.themoviedb.org/3/movie/upcoming?api_key=[api-key]&language=en-US&page=1, In this url data not get proper, in which include past date movies.

I'm facing the same issue

I noticed that you did not specify the region.
Then you will receive premieres from all over the world.
The film may have already been shown in Australia, but has not yet made its US debut.
So the release date is the date of Australia.
Perhaps this is the contradiction.

https://api.themoviedb.org/3/movie/upcoming?api_key=[MY_KEY]&language=en-US&page=1

page    1
total_results   318
dates   
maximum "2019-01-10"
minimum "2018-12-18"
total_pages 16  


https://api.themoviedb.org/3/movie/upcoming?api_key=[MY_KEY]&language=en-US&page=1&region=US  

page    1
total_results   61
dates   
maximum "2019-01-10"
minimum "2018-12-18"
total_pages 4  


https://api.themoviedb.org/3/movie/upcoming?api_key=[MY_KEY]&language=en-US&page=1&region=BR

page    1
total_results   14
dates   
maximum "2019-01-10"
minimum "2018-12-18"
total_pages 1  

@ticao2 said:

https://api.themoviedb.org/3/movie/upcoming?api_key=[MY_KEY]&language=en-US&page=1

page  1
total_results 318
dates 
maximum   "2019-01-10"
minimum   "2018-12-18"
total_pages   16  


https://api.themoviedb.org/3/movie/upcoming?api_key=[MY_KEY]&language=en-US&page=1®ion=US  

page  1
total_results 61
dates 
maximum   "2019-01-10"
minimum   "2018-12-18"
total_pages   4  


https://api.themoviedb.org/3/movie/upcoming?api_key=[MY_KEY]&language=en-US&page=1®ion=BR

page  1
total_results 14
dates 
maximum   "2019-01-10"
minimum   "2018-12-18"
total_pages   1  

But why is maximum always the same? I noticed that there is a movie that coming out after January 10 on the page https://www.themoviedb.org/movie/upcoming

I'm not sure. I'm just a user. And I do not use this upcoming function. But...
It seems to me that the parameters of the Upcoming function using API consider the start date a day before the date you are requesting.
And the final date 24 days later.
I assume the intention is to cover at least two weekends.
But it's just my guess.

As for the query by the site TMDb, using the link you posted, I think the period is different and greater.
And it is filtered by the Country of your IP. You can change.

I vaguely remember that it is possible for you to construct a request by determining the start and end dates.
I think it's the discover / movie with the release_date.gte and release_date.lte parameters.

@silencerweb said:

But why is maximum always the same? I noticed that there is a movie that coming out after January 10 on the page https://www.themoviedb.org/movie/upcoming

The dates only change every Wednesday at midnight UTC (so in ~8 hours). The query just looks for movies within the date range. When you specify a region filter, the query looks for dates added for that country within the range specified.

The website is doing some extra things behind the scenes like doing some timezone offsets and the like so you will not see the same results at all times. Also, not all movie objects on the website support the regional dates.

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