Skip to content

Commit 4cfe8f5

Browse files
authored
Merge pull request #1 from Exbil/master
chore: Update namespace and variable names for FireAPI usage
2 parents 9cc5264 + 58589aa commit 4cfe8f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ You need an [API Key](https://24fire.de/reselling/) for that.
4343
require_once 'vendor/autoload.php';
4444

4545
// Use the library namespace
46-
use 24fireAPI\24fireAPI;
46+
use FireAPI\FireAPI;
4747

4848
// Then simply pass your API-Token when creating the API client object.
49-
$apiKey = getenv('24FIRE_API_KEY');
50-
$client = new 24fireAPI($apiKey);
49+
$token = getenv('24FIRE_API_KEY');
50+
$client = new FireAPI($token);
5151

5252
// Then you are able to perform a request
5353
var_dump($client->servers()->getServers());

0 commit comments

Comments
 (0)