Commit a7a0579b authored by Nico Schallehn's avatar Nico Schallehn

test

parent 23238be6
...@@ -68,7 +68,7 @@ var_dump($tmdb2["seasons"]); ...@@ -68,7 +68,7 @@ var_dump($tmdb2["seasons"]);
exit; exit;
foreach ($tmdb2["seasons"] AS $Key => $Value){ foreach ($tmdb2["seasons"] AS $Key => $Value){
echo " Staffel ".($Key+1).":".PHP_EOL; echo " Staffel ".$Value["season_number"].":".PHP_EOL;
$url3="https://api.themoviedb.org/3/tv/".$tmdb["tv_results"][0]["id"]."/season/".($Key+1)."?api_key=".$tmdbKey."&language=de"; $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); $tmdb3 = json_decode(file_get_contents($url3), true);
......
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