The Movie Database Support Forum

How can retrieve a list of all movies for my autocomplete box for searching purposes.

4 Antworten (Seite 1 von 1)

Jump to last post

Hi jobmwaniki17@yahoo.com,

We don't provide any data dumps for something like this. We do however support autocomplete searching natively with /movie/search. We even support it on the /search/multi endpoint as well.

https://api.themoviedb.org/3/search/movie?api_key=###&query=inc
https://api.themoviedb.org/3/search/movie?api_key=###&query=ince
https://api.themoviedb.org/3/search/movie?api_key=###&query=incep
https://api.themoviedb.org/3/search/movie?api_key=###&query=incept

Most JS components will support an remote data source. Keep in mind you will likely have to use JSONP with a callback.

Cheers.

Thank you Travis

@travisbell said:

Hi jobmwaniki17@yahoo.com,

We don't provide any data dumps for something like this. We do however support autocomplete searching natively with /movie/search. We even support it on the /search/multi endpoint as well.

https://api.themoviedb.org/3/search/movie?api_key=###&query=inc
https://api.themoviedb.org/3/search/movie?api_key=###&query=ince
https://api.themoviedb.org/3/search/movie?api_key=###&query=incep
https://api.themoviedb.org/3/search/movie?api_key=###&query=incept

Most JS components will support an remote data source. Keep in mind you will likely have to use JSONP with a callback.

Cheers.

Can you please tell me how can I implement autocomplete search feature in Android App, since you mentioned that autocomplete searching natively with /movie/search

Would I have to make a new search call with each letter typed to update the autocomplete suggestion list?

I have no experience with Android, but yes, you would have to issue a new search for every letter. Most autocomplete components are a bit smarter than this though, and don't send a new call for every key press. Instead, they usually use a timer and only send the input of the input every 500ms (for example).

You'll have to see what options you have for Android.

Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.

Allgemein

s Fokus auf Suchfeld
p Profil öffnen
esc Fenster schließen
? Tastenkürzel anzeigen

Videos

b Zurück
e Bearbeiten

Staffeln

Nächste Staffel
Vorherige Staffel

Episoden

Nächste Episode
Vorherige Episode

Bilder

a Poster oder Hintergrundbild hinzufügen

Editieren

t Sprachauswahl öffnen
ctrl+ s Speichern

Diskussionen

n Neue Diskussion erstellen
w Beobachten an / aus
p Diskussion öffentlich / privat
c Diskussion öffnen / schließen
a Diskussionsverlauf anzeigen
r Auf Diskussion antworten
l Letzte Antwort anzeigen
ctrl+ enter Senden
Nächste Seite
Vorherige Seite

Einstellungen

Diesen Eintrag bewerten oder zu einer Liste hinzufügen?

Anmelden