Пречице на тастатури
Напредна претрага
i call https://api.themoviedb.org/3/tv/popular?api_key=##########&sort_by=popularity.desc&without_genres=10767,2010766,2010763,2010764
i keep getting the genres i am trying to exclude, is this right or how is that done
By using a comma, you’re asking to filter any movies that have all of those genres entered, and there is probably none.
You should switch to use a pipe | instead which turns it into an OR query, which I believe is what you’re actually looking for.
|
For some reason i still have the problem, for example when i call https://api.themoviedb.org/3/tv/popular?api_key=$$$$$&sort_by=popularity.desc I get squid game, i try calling the api with end point &without_genres=18, but i again get squid game which has a genre 18.
Hi @blaidyalah,
I am not seeing Squid Game returned in this query:
https://api.themoviedb.org/3/discover/tv?api_key=###&without_genres=18
When using without_genres=18, there are 149,775 results. When I remove it, there is 190,497 results which seems correct.
without_genres=18
Oh yes, the problem is fixed when i use discover tv, instead of popular tv, appreciate it.
Не можеш да нађеш филм или серију? Пријави се да додаш.
Пријави се
Региструј се
Желите ли да оцените или додате ову ставку у листу?
Нисте члан?
Пријавите се и прикључите се заједници
Одговор од Travis Bell
дана 25. јануар 2025. у 6:59 PM
By using a comma, you’re asking to filter any movies that have all of those genres entered, and there is probably none.
You should switch to use a pipe
|
instead which turns it into an OR query, which I believe is what you’re actually looking for.Одговор од blaidyalah
дана 25. јануар 2025. у 7:13 PM
For some reason i still have the problem, for example when i call https://api.themoviedb.org/3/tv/popular?api_key=$$$$$&sort_by=popularity.desc I get squid game, i try calling the api with end point &without_genres=18, but i again get squid game which has a genre 18.
Одговор од Travis Bell
дана 25. јануар 2025. у 9:12 PM
Hi @blaidyalah,
I am not seeing Squid Game returned in this query:
When using
without_genres=18
, there are 149,775 results. When I remove it, there is 190,497 results which seems correct.Одговор од blaidyalah
дана 26. јануар 2025. у 4:16 AM
Oh yes, the problem is fixed when i use discover tv, instead of popular tv, appreciate it.