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?
Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.
Doriți să evaluați sau să adăugați acest articol într-o listă?
Nu sunteți membru?
Răspuns de ticao2 🇧🇷 pt-BR
pe data de 31 octombrie 2021 la ora 10:22 AM
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.
Răspuns de hehehaha00
pe data de 6 decembrie 2023 la ora 5:21 PM
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.