forked from php-tmdb/api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapikey.php.dist
More file actions
23 lines (18 loc) · 762 Bytes
/
apikey.php.dist
File metadata and controls
23 lines (18 loc) · 762 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
/**
* Fill these out when you want to use the examples and rename or copy it to apikey.php
*/
// Specify the later introduced bearer token
define('TMDB_BEARER_TOKEN', 'BEARER_TOKEN');
// Or specify the which I guess can now be considered "legacy api key".
define('TMDB_API_KEY', 'API_KEY');
// Globals
define('TMDB_LANGUAGE', 'en-US');
define('TMDB_REGION', 'us');
// Session based
define('TMDB_REQUEST_TOKEN', 'TMDB_REQUEST_TOKEN'); // for accounts
define('TMDB_SESSION_TOKEN', 'TMDB_SESSION_TOKEN'); // for accounts
define('TMDB_GUEST_SESSION_TOKEN', 'TMDB_GUEST_SESSION_TOKEN'); // for guest sessions
define('TMDB_ACCOUNT_ID', 'TMDB_ACCOUNT_ID'); // numeric id, fetch through account info
// Account based
define('TMDB_LIST_ID', 'TMDB_LIST_ID');