Laravel library for ESPN API
-
Add espn.php to libraries
-
Add 'Espn' => path('app').'libraries/espn.php', to your start.php file, within the Autoloader::map array
-
Enter your API key within espn.php (libraries/espn.php) protected static $apiKey = "your_key_here";
-
Use in your controller