Comenzi rapide de la tastatură
Căutare avansată
Hi,How to get latest movie list.Please help me.
Hi sailendra.v,
Are you trying to get the latest movies via the API? What specific list are you looking for?
Hi,
I am looking for all kinds of recently released movies list like Hollywood, Bollywood(Hindi) and Tollywood(Telugu) and also featured release movies.
You can build your own discover query to filter release dates however you please. That will be the easiest way to get a lit of movies that you're looking for.
Hi Travis Bell, i am running this code <?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://themoviedb.apiary.io/3/discover/movie"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($ch, CURLOPT_HEADER, FALSE); curl_setopt($ch, CURLOPT_HTTPHEADER, array("Accept: application/json")); $response = curl_exec($ch); curl_close($ch);
var_dump($response); ?> It is showing string(40) "Private API, please provide private hash"
what is private api ...I got only one api key from you.....please help me to run this code....
You're not using the production API, that's just Apiary, a tool you can use to help troubleshoot requests.
Change your request to use api.themoviedb.org and you will see it work.
api.themoviedb.org
Cheers.
Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.
Autentificare
Înregistrare
Doriți să evaluați sau să adăugați acest articol într-o listă?
Nu sunteți membru?
Înscrieți-vă și alăturați-vă comunității
Răspuns de Travis Bell
pe data de 13 februarie 2014 la ora 10:45 AM
Hi sailendra.v,
Are you trying to get the latest movies via the API? What specific list are you looking for?
Răspuns de sailendra.v
pe data de 13 februarie 2014 la ora 11:53 PM
Hi,
I am looking for all kinds of recently released movies list like Hollywood, Bollywood(Hindi) and Tollywood(Telugu) and also featured release movies.
Răspuns de Travis Bell
pe data de 17 februarie 2014 la ora 10:30 AM
You can build your own discover query to filter release dates however you please. That will be the easiest way to get a lit of movies that you're looking for.
Răspuns de sailendra.v
pe data de 17 februarie 2014 la ora 11:39 PM
Hi Travis Bell, i am running this code <?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://themoviedb.apiary.io/3/discover/movie"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($ch, CURLOPT_HEADER, FALSE); curl_setopt($ch, CURLOPT_HTTPHEADER, array("Accept: application/json")); $response = curl_exec($ch); curl_close($ch);
var_dump($response); ?> It is showing string(40) "Private API, please provide private hash"
what is private api ...I got only one api key from you.....please help me to run this code....
Răspuns de Travis Bell
pe data de 18 februarie 2014 la ora 9:13 AM
Hi sailendra.v,
You're not using the production API, that's just Apiary, a tool you can use to help troubleshoot requests.
Change your request to use
api.themoviedb.org
and you will see it work.Cheers.