Getting Started
Installation is quite easy. You can simply grab the latest stable version via composer:
The next step is to create an instance of the SDK's R4nkt
object. Its constructor takes the following parameters:
string $apiToken
(required) Your API token. If you don't have an API key yet, read up on the API authentication first first.string $gameId
(required) Your game ID.GuzzleHttp\Client $client
(optional) You can pass in your own client to use or allow the SDK to create and use its own.
Here is an example of how one can instantiate the R4nkt
object:
Once initiated, you can then begin to manage game resources.
Last updated