Hello, I want to list the TV series according to the date of the last episode, almost the same as we see in the airing-today section, I couldn't find a way to list it in the same way.
https://api.themoviedb.org/3/tv/airing_today?api_key=THEKEY&language=es-ES&air_date.lte=2024-05-02&air_date.gte=2024-05-02&page=1
the TV serie "The Boss" or "El encargado" It should appear on that date but it doesn't, it seems to ignore the date filter.
Nie możesz znaleźć filmu lub serialu? Zaloguj się, aby go utworzyć.
Want to rate or add this item to a list?
Not a member?
Odpowiedź użytkownika Travis Bell
7 sierpnia 2024 o godz. 11:09AM
Hi @LeandroA,
Indeed,
/tv/airing_today
does not support aair_date.lte
orair_date.gte
filter.If you want to use those filters, you'll have to switch over to use
/discover/tv
.Odpowiedź użytkownika LeandroA
7 sierpnia 2024 o godz. 11:38AM
In any case, the results are not as expected, they all give very different results to those indicated, it seems that this part of the API is not working well, I have seen other posts reporting similar problems.
Odpowiedź użytkownika Travis Bell
7 sierpnia 2024 o godz. 11:48AM
What request isn't working as expected?
Odpowiedź użytkownika LeandroA
7 sierpnia 2024 o godz. 2:58PM
What I'm looking for is to get this list, using the date filter https://www.themoviedb.org/tv/airing-today
In no case can I obtain the series that premiere episodes in the indicated date range, or a pagination in order of episode premiere dates.
Odpowiedź użytkownika Travis Bell
7 sierpnia 2024 o godz. 3:39PM
If you want to filter TV shows by their premiere date (I'm assuming you're talking about season 1, episode 1) then you need to use
first_air_date.lte
and/orfirst_air_date.gte
.If you are wanting to query specific shows that simply have an episode airing within the date range, then your discover query is correct. No Rancho Fundo is being returned because as you can see here, it has an episode airing today (Aug. 7).