Use marcreichel/igdb-laravel for igdb lookups

This commit is contained in:
DariusIII
2019-09-09 13:23:40 +02:00
parent 14d1e7f660
commit f70696ceeb
6 changed files with 109 additions and 76 deletions
-1
View File
@@ -164,7 +164,6 @@ return [
App\Providers\TelescopeServiceProvider::class,
Jrean\UserVerification\UserVerificationServiceProvider::class,
App\Providers\RouteServiceProvider::class,
Messerli90\IGDB\IGDBServiceProvider::class,
App\Providers\UserServiceProvider::class,
],
+31
View File
@@ -0,0 +1,31 @@
<?php
return [
/*
* This is the API Token you got from https://api.igdb.com
*/
'api_token' => env('IGDB_KEY', ''),
/*
* This package caches queries automatically.
* Here you can set how long (in seconds) each query should be cached (by
* default).
*
* To turn cache off set this value to 0
*/
'cache_lifetime' => env('IGDB_CACHE_LIFETIME', 3600),
/*
* This is the per-page limit for your tier ("Free" by default)
* Adjust this to 500 if you are on the "Pro" tier or in the Partner Program
* or to 5000 if you are in the "Enterprise" tier.
*/
'per_page_limit' => 50,
/*
* This is the offset limit for your tier ("Free" by default)
* Adjust this to 5000 if you are on the "Pro" tier or in the Partner Program
* or to 0 (to turn it off) if you are in the "Enterprise" tier.
*/
'offset_limit' => 150,
];