The Movie Database-ondersteuning

Hello,

I want to start off by saying a huge thank you to anyone who works on this API and all of the associated services.

I was wondering if there was a way and/or a recommendation for how to sort discover API queries by air_date? I want to display a list of episodes and sort by air_date over the next 2 weeks. By default the discover endpoint (and the on air endpoint) sort(s) by popularity, and although there are other sort options such as first_air_date, popularity and votes, there doesn't appear to be a way to sort by air_date. It appears there's some knowledge of this air_date under the hood, as its possible to use air_date as a filter argument and I believe this is how the "on the air" API works behind the scenes https://api.themoviedb.org/3/tv/on_the_air.

I can hit the details endpoint and find the next_episode_to_air, and then use that, but then I have to hit the details API for every single episode and I also lose the pagination behaviour baked into the discover API because i need to do my own sorting for the entire list before presenting it.

Thanks.

Film of tv-serie niet gevonden? Meld je aan om deze toe te voegen.

Wereldwijd

s focus op zoekbalk
p open profielmenu
esc sluit een open venster
? open sneltoetsen venster

Op media pagina's

b ga terug (of ga naar bovenliggend item)
e ga naar beweken

Op tv-seizoenspagina's

(rechter pijl) ga naar volgende seizoen
(linker pijl) ga naar vorig seizoen

Op pagina's met tv-series

(rechter pijl) ga naar volgende aflevering
(linker pijl) ga naar vorige aflevering

Op alle afbeeldingspagina's

a open venster afbeelding toevoegen

Op alle bewerkte pagina's

t open vertaalmenu
ctrl+ s verstuur formulier

Op discussiepagina's

n start nieuwe discussie
w Verander kijk status
p privé of openbaar
c schakelen sluiten/openen
a open activiteit
r beantwoord discussie
l ga naar laatste antwoord
ctrl+ enter verstuur uw bericht
(rechter pijl) volgende pagina
(linker pijl) vorige pagina

Instellingen

Want to rate or add this item to a list?

Inloggen