Commit 5c340408 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 9320245e
......@@ -21,8 +21,8 @@ var_dump($tmdb["movie_results"][0]["id"]);
echo PHP_EOL;
$url2="https://api.themoviedb.org/3/movie/".$tmdb["movie_results"][0]["id"]."?api_key=".$tmdbKey."&append_to_response=trailers";
$url2="https://api.themoviedb.org/3/movie/".$tmdb["movie_results"][0]["id"]."?api_key=".$tmdbKey."&language=de&append_to_response=trailers";
$tmdb = json_decode(file_get_contents($url2), true);
//echo $tmdb;
var_dump($tmdb);
var_dump($tmdb["trailers"]["youtube"]);
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