Hi, im using multi search to search for films using this
fetch(`https://api.themoviedb.org/3/search/multi?api_key=${API_KEY}&language=en-US&include_adult=false&query=${e.target.value}`
how do i only get it to search for movies and tv shows and not people?
لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها
هل تريد تقييم او اضافة هذا العنصر للقائمة؟
لست عضو؟
رد بواسطة ticao2 🇧🇷 pt-BR
بتاريخ أكتوبر 31, 2021 في 10:22 صباحا
It is not possible to limit the search using get/search/multi to movies and series only.
To limit only using get/search/movie and get/search/tv.
رد بواسطة hehehaha00
بتاريخ ديسمبر 6, 2023 في 5:21 مساءا
Late to the party, but heres what worked for me,
Filter the data using the array filter method to retrieve information that excludes entries with "person" as the media type. This will result in obtaining data exclusively related to movies and TV shows.