Sprijin Bază de date filme (The Movie Database)

Hi, I am trying to show the latest movie releases but after 3 weeks I keep getting the same movies and others that have been released do not appear. Is there any filter that I can put to appear? I see the premieres on https://www.themoviedb.org/movie/now-playing and they are not the same as in the call https://api.themoviedb.org/3/movie/now_playing?language=es-ES&page=1 Thank you!

2 răspunsuri (pe pagina 1 din 1)

Jump to last post

@pollolokoo said:
now playing movies does not display the same on the web as in the api
Hi, I am trying to show the latest movie releases but after 3 weeks I keep getting the same movies and others that have been released do not appear.
Is there any filter that I can put to appear?
I see the premieres on
https://www.themoviedb.org/movie/now-playing
and they are not the same as in the call
https://api.themoviedb.org/3/movie/now_playing?language=es-ES&page=1
Thank you!

In the WEB interface there are some options selected by default.
And you can change these options.
In the API Request you can select only the country.
Check if it is the same as the WEB interface.
There is also a predetermined period of time that you cannot change.
And the time periods are not always the same, on the WEB and in the API.
Just now I tested it.
API
"maximum": "2023-09-26",
"minimum": "2023-08-09"
WEB
2023-09-27
2023-08-16
If the parameters are not the same, the answer should not be the same.


EDIT
If you want an API Request that probably returns the same response as the WEB interface, build yours using Discover.
https://developer.themoviedb.org/reference/discover-movie

As the docs state it is really just a discover call. There's even an example.

One crucial thing is to make sure and use the region filter.

Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.

Globale

s focalizează bara de căutare
p deschide meniul profilului
esc închide o fereastră deschisă
? deschide fereastra cu scurtături de la tastatură

Pe paginile media

b mergi înapoi (sau la părinte atunci când este cazul)
e mergi la pagina de editare

Pe paginile sezoanelor filmelor seriale

(săgeată dreapta) mergi la sezonul următor
(săgeată stânga) mergi la sezonul precedent

Pe paginile episoadelor filmelor seriale

(săgeată dreapta) mergi la episodul următor
(săgeată stânga) mergi la episodul precedent

Pe toate paginile de imagini

a deschide fereastra pentru adăugarea de imagini

Pe toate paginile de editare

t deschide selectorul de traduceri
ctrl+ s trimite formularul

Pe paginile de discuții

n crează o discuție nouă
w comută starea de vizionare
p comută publică/privată
c comută închisă/deschisă
a deschide activitatea
r răspunde la discuție
l mergi la ultimul răspuns
ctrl+ enter trimite mesajul
(săgeată dreapta) pagina următoare
(săgeată stânga) pagina precedentă

Setări

Doriți să evaluați sau să adăugați acest articol într-o listă?

Autentificare