Closed tdguchi closed 10 years ago
try this
$tmdb->movieInfo($MovieId, "Credits");
returns below parts of response
{
id: 603,
cast: [....],
crew: [
{
credit_id: "52fe425bc3a36847f8018117",
department: "Directing",
id: 9339,
job: "Director",
name: "Andy Wachowski",
profile_path: "/nh5SBuv9cm1FByTc7dlV0zyO3GO.jpg"
},
{
credit_id: "52fe425bc3a36847f801811d",
department: "Directing",
id: 9340,
job: "Director",
name: "Lana Wachowski",
profile_path: "/8mbcXfOpmOiDLk6ZWfMsBGHEnet.jpg"
},
Im getting an empty array when adding:
$ cred = $ tmdb_V3->movieInfo($ idMovie, "Credits"); echo"
";var_dump($cred);echo"";
PD:where I can get a full map of the web? to know the name of every field?
try this
$cred = $tmdb_V3->movieInfo($idMovie, "credits");
that works! thanks!
and how about the question of where to find a map of the web? I mean, something where find what to put into the functions (like "credits") how do you know that the plot is a result of moviedetail()?
Hi, i have tried you php script... but i couldnt get some some fields, like as director or the released year
which changes could I made to get the director name?
thanks