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?
Kan du inte hitta en film eller tv-serie? Logga in för att skapa den.
Vill du betygsätta denna artikel eller lägga till den i en lista?
Inte medlem?
Svar från angelxmoreno
den 6 september 2013 vid 5:45 PM
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
Svar från angelxmoreno
den 6 september 2013 vid 5:48 PM
I actually found an example @travisbell wrote just look at the source code here http://dev.travisbell.com/play/tmdb.html
Svar från Mr.Picklemixel
den 6 september 2013 vid 6:03 PM
Hey, thanks for the help but I figured it out. I will take a look though.