The Movie Database Support

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 replies (on page 1 of 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.

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

hyrje