Podpora The Movie Database

If I used the JavaScript example for getting the basic info for a movie http://docs.themoviedb.apiary.io/#movies, how do I use the data it returns? for example, how would I read the original title and overiew so that I could display them?

3 odpovědí (na stránce 1 z 1)

Jump to last post

Most of the examples are missing the actual setting of the data to a variable. Both, the url used and the method of fetching the data are only examples. To be honest, if you do not understand how to do that then perhaps that particular example might be a bit over your head. Perhaps you would be better off using a client library instead. the list is here http://www.themoviedb.org/documentation/api/wrappers-libraries - oddly enough, there is on JS client library. If you know Jquery i can make a quick Gist that should get you get started

I actually found an example @travisbell wrote just look at the source code here http://dev.travisbell.com/play/tmdb.html

Hey, thanks for the help but I figured it out. I will take a look though.

Nemůžete nalézt film nebo seriál? Přihlaste se pro jeho vytvoření.

Globální

s zaměřit panel hledání
p otevřít nabídku profilu
esc zavřít otevřené okno
? otevřít okno klávesových zkratek

Na stránkách médií

b zpět (nebo na nadřazený záznam, pokud to jde)
e na stránku úprav

Na stránkách sezón

(šipka vpravo) na další sezónu
(šipka vlevo) na předchozí sezónu

Na stránkách epizod

(šipka vpravo) na další epizodu
(šipka vlevo) na předchozí epizodu

Na všech stránkách obrázků

a otevřít okno přidání obrázku

Na všech stránkách úprav

t otevřít výběr překladu
ctrl+ s odeslat formulář

Na stránkách diskusí

n vytvořit novou diskusi
w přepnout stav zhlédnutí
p přepnout veřejný a soukromý
c přepnout zavřít a otevřít
a otevřít aktivitu
r odpovědět na diskusi
l na poslední odpověď
ctrl+ enter odeslat zprávu
(šipka vpravo) další stránka
(šipka vlevo) předchozí stránka

Nastavení

Want to rate or add this item to a list?

Přihlásit se