We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9cc5264 + 58589aa commit 4cfe8f5Copy full SHA for 4cfe8f5
README.md
@@ -43,11 +43,11 @@ You need an [API Key](https://24fire.de/reselling/) for that.
43
require_once 'vendor/autoload.php';
44
45
// Use the library namespace
46
-use 24fireAPI\24fireAPI;
+use FireAPI\FireAPI;
47
48
// Then simply pass your API-Token when creating the API client object.
49
-$apiKey = getenv('24FIRE_API_KEY');
50
-$client = new 24fireAPI($apiKey);
+$token = getenv('24FIRE_API_KEY');
+$client = new FireAPI($token);
51
52
// Then you are able to perform a request
53
var_dump($client->servers()->getServers());
0 commit comments