Commit 97ffb06c authored by Nico Schallehn's avatar Nico Schallehn

test

parent 049c9a05
......@@ -68,8 +68,11 @@ $tmdb2 = json_decode(file_get_contents($url2), true);
foreach ($tmdb2["seasons"] AS $Key => $Value){
echo " Staffel ".($Key+1).":".PHP_EOL;
$url3="https://api.themoviedb.org/3/tv/".$tmdb["tv_results"][0]["id"]."/season/".($Key+1)."?api_key=".$tmdbKey."&language=de";
echo $url3.PHP_EOL;
//echo $url3.PHP_EOL;
$tmdb3 = json_decode(file_get_contents($url3), true);
foreach ($tmdb3["episodes"] as $key => $value) {
echo " Episode ".$key." Name: ".$Value["name"];
}
var_dump($tmdb3);
}
......
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