Hi, I would like for the user on my app to be able to search for title of movie, and have all results based on what they are typing, change as they type. Any Suggestions? Somewhat new to programming. Thanks
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 Philipp N.
le 11 décembre 2016 à 04h19
Try this
https://api.themoviedb.org/3/search/company?api_key=<<api_key>>&query=QUERY&page=1
and replace with yourapi_key
andQUERY
Réponse de Travis Bell
le 11 décembre 2016 à 11h49
Hi @Deekan142 All of our search methods support ngram searching. The website search for example is literally making /search/multi calls. For movies, some examples for /search/movie look like:
Cheers.
Réponse de Deekan142
le 12 décembre 2016 à 10h42
Thanks for the Help, how are people organizing the Info? with a plugin? I had to use a huge algorithm to come up with just grabbing certain pieces of the string I need.
Réponse de Travis Bell
le 12 décembre 2016 à 10h54
Do you mean parsing the data? If so, it's JSON. So if you use a proper JSON library and parse it with said library it's as easy as accessing a native data struct (in whatever language you're using). Here's a simple example in Ruby:
Now that I a body variable with parsed JSON, I can call it like any regular Ruby hash object: