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?
Ne najdete filma ali serije? Prijavite se, da ga/jo ustvarite.
Want to rate or add this item to a list?
Not a member?
angelxmoreno je odgovoril
dne september 6, 2013 ob 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
angelxmoreno je odgovoril
dne september 6, 2013 ob 5:48 PM
I actually found an example @travisbell wrote just look at the source code here http://dev.travisbell.com/play/tmdb.html
Mr.Picklemixel je odgovoril
dne september 6, 2013 ob 6:03 PM
Hey, thanks for the help but I figured it out. I will take a look though.