键盘快捷键
高级搜索
Hey,
I am having some trouble searching the api to find films containing 2 people that i specify.
Could you please send me an example which uses Justin Bieber and Selena Gomez for example, or any other 2 celebrities.
Hi @izabeladrabek,
You can use discover for that and the with_people filter. The with_people filter works like any other filter on discover so you can use a | to make it an OR query, or a , to make it an AND query.
with_people
|
OR
,
AND
https://api.themoviedb.org/3/discover/movie?api_key=###&with_people=77948,150810 https://api.themoviedb.org/3/discover/movie?api_key=###&with_people=77948|150810
Make sure to look at all of the available filters on discover, there are over 30.
Cheers.
找不到电影或节目?登录并创建它吧。
登录
注册
想给这个条目评分或将其添加到片单中?
还不是会员?
注册加入社区
Travis Bell 的回复
于 2023 年 08 月 04 日 1:31下午
Hi @izabeladrabek,
You can use discover for that and the
with_people
filter. Thewith_people
filter works like any other filter on discover so you can use a|
to make it anOR
query, or a,
to make it anAND
query.Make sure to look at all of the available filters on discover, there are over 30.
Cheers.