Constants...
This commit is contained in:
1 parent
0b4efeb2ed
commit
cb6056ecd7
3 files changed
+39
-26
No files matched your search
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
/**
|
||||
* Laravel Constants
|
||||
*/
|
||||
return [
|
||||
'tvdb' => [
|
||||
'apikey' => 'b187f8d9c5e72b1faecb741d5d04239a'
|
||||
]
|
||||
];
|
||||
@@ -24,6 +24,7 @@ Route::get('/', function()
|
||||
$tmdb = new TMDb(Config::get('constants.tvdb.apikey'), 'de', TRUE);
|
||||
foreach(array("top" => $mg[0], "neu" => $vorgeschlagen[0], "alt" => $gesehen[0]) as $key => $val) {
|
||||
$tmovie = $tmdb->getMovie($val->tvdbid);
|
||||
dd($tmovie);
|
||||
$images[$key] = $tmdb->getImageUrl($tmovie['poster_path'], TMDb::IMAGE_POSTER, 'w342');
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user