The Movie Database-ondersteuning

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

1 antwoord (op pagina 1 van 1)

Jump to last post

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.

Film of tv-serie niet gevonden? Meld je aan om deze toe te voegen.

Wereldwijd

s focus op zoekbalk
p open profielmenu
esc sluit een open venster
? open sneltoetsen venster

Op media pagina's

b ga terug (of ga naar bovenliggend item)
e ga naar beweken

Op tv-seizoenspagina's

(rechter pijl) ga naar volgende seizoen
(linker pijl) ga naar vorig seizoen

Op pagina's met tv-series

(rechter pijl) ga naar volgende aflevering
(linker pijl) ga naar vorige aflevering

Op alle afbeeldingspagina's

a open venster afbeelding toevoegen

Op alle bewerkte pagina's

t open vertaalmenu
ctrl+ s verstuur formulier

Op discussiepagina's

n start nieuwe discussie
w Verander kijk status
p privé of openbaar
c schakelen sluiten/openen
a open activiteit
r beantwoord discussie
l ga naar laatste antwoord
ctrl+ enter verstuur uw bericht
(rechter pijl) volgende pagina
(linker pijl) vorige pagina

Instellingen

Want to rate or add this item to a list?

Inloggen