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?
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de ticao2 🇧🇷 pt-BR
le 31 octobre 2021 Ă 10h22
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éponse de hehehaha00
le 6 décembre 2023 à 17h21
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.