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?
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by angelxmoreno
on september 6, 2013 at 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
Reply by angelxmoreno
on september 6, 2013 at 5:48 PM
I actually found an example @travisbell wrote just look at the source code here http://dev.travisbell.com/play/tmdb.html
Reply by Mr.Picklemixel
on september 6, 2013 at 6:03 PM
Hey, thanks for the help but I figured it out. I will take a look though.