Commit a47ec0eb authored by Nico Schallehn's avatar Nico Schallehn

test

parent 9032995d
...@@ -11,8 +11,9 @@ if ($imdb->isReady) { ...@@ -11,8 +11,9 @@ if ($imdb->isReady) {
$tmdbKey = "b1ddcc7d16281ce09f692896f882ba9d"; $tmdbKey = "b1ddcc7d16281ce09f692896f882ba9d";
$url = "https://api.themoviedb.org/3/find/tt"."0489270"."?external_source=imdb_id&api_key=".$tmdbKey."&language=de&append_to_response=trailers";
$tmdb = json_decode(file_get_contents("https://api.themoviedb.org/3/find/tt"."0489270"."?external_source=imdb_id&api_key=".$tmdbKey."&language=de&append_to_response=trailers"), true); echo $url.PHP_EOL;
$tmdb = json_decode(file_get_contents($url), true);
//echo $tmdb; //echo $tmdb;
var_dump($tmdb["movie_results"]); var_dump($tmdb["movie_results"]);
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment