Files
newznab-tmux-NNTmux/config/igdb.php
T
2026-03-26 10:48:12 +01:00

25 lines
693 B
PHP

<?php
return [
'base_url' => env('IGDB_BASE_URL', 'https://api.igdb.com/v4'),
'token_url' => env('TWITCH_TOKEN_URL', 'https://id.twitch.tv/oauth2/token'),
/*
* These are the credentials you got from https://dev.twitch.tv/console/apps
*/
'credentials' => [
'client_id' => env('TWITCH_CLIENT_ID', ''),
'client_secret' => env('TWITCH_CLIENT_SECRET', ''),
],
/*
* The local IGDB client caches query responses for this many seconds.
*
* To turn cache off set this value to 0
*
* Recommended: 86400 (24 hours) for game data that rarely changes
*/
'cache_lifetime' => (int) env('IGDB_CACHE_LIFETIME', 86400),
];