Suport de The Movie Database

I am really new to jquery and all that i need to make a simple search box and button that when i enter the name of a movie it will list it for example batman and list all the movies under that title i have looked on the site at the documention for this but i dont not understand the examples can somebody help me plz

4 resposta (a les pàgines 1 de 1)

Jump to last post

Hi jamiex304,

There is a small jQuery example I've shared in the past here: http://dev.travisbell.com/play/tmdb.html

Make sure to enter your API key on line 11. It doesn't do much other than take the results of a AJAX request and print them out in to a list. Hopefully that's enough to get you started.

Cheers.

thanks for getting back worked great one other question how can get the plot

You can't with the search. You would have to issue a full movie request:

http://api.themoviedb.org/3/movie/550?api_key=###

Cheers.

do u have an example of this type of request im really new to all of this

No trobeu una pel·lícula o una sèrie? Inicieu la sessió per a crear-la.

Global

s centra la barra de cerca
p obre el menú del perfil
esc tanca una finestra oberta
? obre la finestra de dreceres de teclat

A les pàgines de materials

b torna enrere (o la superior quan sigui aplicable)
e ves a la pàgina d’edició

A les pàgines de temporades

(fletxa dreta) ves a la temporada següent
(fletxa esquerra) ves a la temporada anterior

A les pàgines d'episodis

(fletxa dreta) ves a l'episodi següent
(fletxa esquerra) ves a l'episodi anterior

A totes les pàgines d'imatges

a obre la finestra d'afegir imatges

A totes les pàgines d'edició

t obre el selector de traducció
ctrl+ s envia el formulari

A les pàgines de debat

n crea un debat nou
w canvia l'estat de visualització
p canvia públic/privat
c tanca o obre
a obre activitat
r resposta al debat
l ves a la darrera resposta
ctrl+ enter envieu el vostre missatge
(fletxa dreta) pàgina següent
(fletxa esquerra) pàgina anterior

Configuracions

Desitgeu valorar o afegir aquest element a una llista?

Inicieu la sessió