how to get the movie id from search i list the code like this
$jsonfile1 = 'http://api.themoviedb.org/3/search/movie?api_key=###&query=#### $data1 = json_decode(file_get_contents($jsonfile1)); $ids = $data1->page[0]->results[0]->id;
but i didn't get the movie's id, please help
Δεν μπορείτε να βρείτε κάποια ταινία ή σειρά; Συνδεθείτε για να τη δημιουργήσετε.
Θέλετε να αξιολογήσετε ή να προσθέσετε αυτό το στοιχείο σε μια λίστα;
Δεν είσαι μέλος;
Απάντηση από τον/την Travis Bell
στις 28 Δεκέμβριος 2014 στις 10:18 ΕΊΜΑΙ
Hi redorahman,
What language are you programming in?
I often recommend taking a look one of the available libraries and not only using them but even if you choose not to, you can often gleam some good info about how they're using the API by looking at the code.
Cheers.