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?
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 angelxmoreno
le 6 septembre 2013 à 17h45
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
Réponse de angelxmoreno
le 6 septembre 2013 à 17h48
I actually found an example @travisbell wrote just look at the source code here http://dev.travisbell.com/play/tmdb.html
Réponse de Mr.Picklemixel
le 6 septembre 2013 à 18h03
Hey, thanks for the help but I figured it out. I will take a look though.