תמיכת The Movie Database

Hi, I am having an issue trying to use /discover/movie without_keyword. I tried to pass a movie name or a movie ID to the without_keywords params and can't see any difference in the response. Here is an example of how I did: https://api.themoviedb.org/3/discover/movie?api_key=###&language=en-US&sort_by=popularity.desc&include_adult=false&include_video=false&page=1&without_keywords=Jumanji What I am trying to do here is just filter out some movies from the results. Could you let me know if I misunderstood how this method works ?

Thanks

9 תגובות (בדף 1 מתוך 1)

Jump to last post

Hi @kiom,

You need to specify the keyword ids, not the keyword itself. Using the "video game (id 282)" keyword as an example, this would be your query:

https://api.themoviedb.org/3/discover/movie?api_key=###&language=en-US&sort_by=popularity.desc&include_adult=false&include_video=false&page=1&without_keywords=282

Hi Travis,

Thanks for your reply. I did not realised this was based on KEYWORDS from the API. Ok so I guess I can't really remove movies by ID from the response. Do you have any clue on how I could achieve this or if there is a plan to implement that in the future ? I guess a workaround could be to remove them manually on the client after received the response.

Thanks again for your help. Cheers

No problem.

What kind of criteria are you wanting to exclude? I am not 100% clear on that...

Hi Travis, it would be movie/tv ID. The use case would be to look for movies or shows - but exclude from the response all the movies I already watched. We assume I have list of showsID somewhere, I pass that list as a parameter and the query run as usual, return a list of shows excluding all the IDS I passed. I guess passing a IDs would be the easiest way. Let me know if this is still not clear enough.

Thanks

Gotcha, now I understand.

There's currently no functionality for that but I have created a new ticket to think about it.

Cheers.

Great, Thanks for the support

any change on that ticket can we search now movies and exclude a watched list base on a list of movie_id?

@travisbell said:

Gotcha, now I understand.

There's currently no functionality for that but I have created a new ticket to think about it.

Cheers.

I am also interested in excluding IDs to filter out movies that the user has already seen. Is this currently possible? Thank you very much!

You can watch this ticket for updates, it is not committed at this time.

.לא מצאת סרט או סדרה? היכנס כדי ליצור אותם

עולמי

s התמקד בשורת החיפוש
p פתח תפריט פרופיל
esc סגור חלון פתוח
? פתח חלון קיצורי דרך של מקלדת

בדפי מדיה

b לך חזרה (או אל הורה אם ישים)
e לך אל דף עריכה

בדפי עונות

(חץ ימני) לך אל העונה הבאה
(חץ שמאלי) לך אל העונה הקודמת

בדפי סדרות

(חץ ימני) לך אל הפרק הבא
(חץ שמאלי) לך אל הפרק הקודם

בכל דפי תמונה

a פתח חלון הוספת תמונה

בכל דפי עריכה

t פתח בוחר תרגום
ctrl+ s הגש טופס

בדפי דיון

n צור דיון חדש
w עורר מעמד צפייה
p עורר ציבורי/פרטי
c עורר סגירה/פתיחה
a פתח פעילות
r השב אל דיון
l לך אל תשובה אחרונה
ctrl+ enter הגש את הודעתך
(חץ ימני) הדף הבא
(חץ שמאלי) הדף הקודם

הגדרות

?רוצה לדרג או להוסיף פריט אל רשימה

היכנס