Supporto The Movie Database

I want to get movies released within a specific date. What I am doing...

https://api.themoviedb.org/3/discover/movie?api_key=<key>&language=en-US&sort_by=release_date.desc&page=1&release_date.gte=2017-12-31&release_date.lte=2020-1-1&with_genres=16%2C35

But I get empty list.

5 risposte (nella pagina 1 di 1)

Jump to last post

The problem is the date format.
It has to be YYYY-MM-DD
Two digits for month and day.
2020-01-01

Oh. Yeah. Now it's working. Thank you so much sir.

some time data is not sorted

@IamSanjayGupta said:
some time data is not sorted

It looks like your problem is not the same problem as this topic.
I suggest you create a new topic with your specific problem and describe a little more what your problem is.
That is, post the API Request you made and inform what is wrong in the response data.

@ticao2 said:

@IamSanjayGupta said:
some time data is not sorted

It looks like your problem is not the same problem as this topic.
I suggest you create a new topic with your specific problem and describe a little more what your problem is.
That is, post the API Request you made and inform what is wrong in the response data.

Thanks for reply my problem got resolved by using primary_release_date. Thank you again

Non riesci a trovare un film o una serie Tv? Accedi per crearlo.

Globale

s focalizza la barra di ricerca
p apri menu profilo
esc chiudi una finestra aperta
? apri finestra scorciatoia tastiera

Su tutte le pagine di media

b torna indietro (o al precedente quando applicabile)
e vai alla pagina di modifica

Nelle pagine delle stagioni TV

(freccia destra) vai alla stagione successiva
(freccia sinistra) vai alla stagione precedente

Nelle pagine degli episodi TV

(freccia destra) vai all'episodio successivo
(freccia sinistra) vai all'episodio precedente

Su tutte le pagine di immagini

a apri finestra aggiungi immagine

Su tutte le pagine di modifica

t apri selettore traduzione
ctrl+ s invia modulo

Sulle pagine di discussione

n crea nuova discussione
w segna come visto/non visto
p cambia publico/privato
c cambia chiuso/aperto
a apri attivita
r rispondi alla discussione
l vai all'ultima risposta
ctrl+ enter invia il tuo messaggio
(freccia destra) pagina successiva
(freccia sinistra) pagina precedente

Impostazioni

Vuoi valutare o aggiungere quest'elemento a una lista?

Accedi