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.
لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها
هل تريد تقييم او اضافة هذا العنصر للقائمة؟
لست عضو؟
رد بواسطة Travis Bell
بتاريخ أغسطس 7, 2024 في 11:09 صباحا
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
.رد بواسطة LeandroA
بتاريخ أغسطس 7, 2024 في 11:38 صباحا
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.
رد بواسطة Travis Bell
بتاريخ أغسطس 7, 2024 في 11:48 صباحا
What request isn't working as expected?
رد بواسطة LeandroA
بتاريخ أغسطس 7, 2024 في 2:58 مساءا
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.
رد بواسطة Travis Bell
بتاريخ أغسطس 7, 2024 في 3:39 مساءا
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).