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?
Nevari atrast filmu vai TV pārraidi? Jāpiesakās, lai to izveidotu.
Vēlies novērtēt šo vienumu vai pievienot to sarakstam?
Neesi dalībnieks?
Atbilde no angelxmoreno
on septembris 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
Atbilde no angelxmoreno
on septembris 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
Atbilde no Mr.Picklemixel
on septembris 6, 2013 at 6:03 PM
Hey, thanks for the help but I figured it out. I will take a look though.