I am really new for the API, and I can hardly understand the reference. The first question is that where can I get the URL to use the API key? I've saw that "http://api.themoviedb.org/3/search/movie?api_key="+api_key+"&query="; for film, but I don't know where to find other URLS. In http://docs.themoviedb.apiary.io/reference, there is a webpage,http://private-anon-62624bef6-themoviedb.apiary-mock.com/3/search/movie,but it's only a result, not the URLS for response...
فیلم و نمایش تلویزیونی را نمیتوانید پیدا کنید؟ به سیستم وارد شوید تا آن را ایجاد کنید.
آیا میخواهید به این مورد امتیاز دهید یا به فهرست اضافه کنید؟
عضو نیستید؟
پاسخ توسط HarrisRobin
در تاریخ سپتامبر 18, 2014 ساعت 10:49 ب.ض
I'm not sure I understand your question. All the API requests are in the documentation, what do you mean by URL ?
پاسخ توسط liuqyilin
در تاریخ سپتامبر 19, 2014 ساعت 12:31 ق.ض
For example, when I want to use the search for movie ,the url is "http://api.themoviedb.org/3/search/movie?api_key="+api_key+"&query="+move; But the response is only for the release year, and the name of movie. If I still want more informations, like the actors and language, where can I get that response?
پاسخ توسط liuqyilin
در تاریخ سپتامبر 19, 2014 ساعت 12:44 ق.ض
I am sorry that I'm really poor at it . For example , I 've found that http://api.themoviedb.org/3/search/movie?api_key=###&query=movieName is a URL for search movie, but I don't know where you get to know the URL. I cannot find it in the documentation. If I want to get movie information by Id, I cannot find the URL for response
پاسخ توسط HarrisRobin
در تاریخ سپتامبر 19, 2014 ساعت 5:06 ق.ض
The API provides you with access to CREDITS so you may get the actors this way : http://docs.themoviedb.apiary.io/reference/movies/movieidcredits/get
Everything is in the documentation. As for the language it should be in the /movie data.
پاسخ توسط tekrondo
در تاریخ سپتامبر 19, 2014 ساعت 11:48 ق.ض
Hi liuqyilin, like HarisRobin said, all the links and how to get to them are listed in the documentation.
For example, to search for a movie by id, you would append the base url with /movie/{id}/apiKey replace {id} with the id of the movie you want to search.
I hope this helps, if I did ub=nderstand your question.
پاسخ توسط liuqyilin
در تاریخ سپتامبر 19, 2014 ساعت 12:36 ب.ض
Thanks a lot, it works now.