mascotgaming / php-api-client
Installs: 1 186
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: >=5.3.0
- fguillot/json-rpc: 1.2.5
This package is auto-updated.
Last update: 2025-06-16 12:40:14 UTC
README
Operator API v1 client for PHP.
Example:
<?php use mascotgaming\mascot\api\client\Client; require __DIR__.'/vendor/autoload.php'; $client = new Client(array( // This is the base URL for the Operator API v1. 'url' => 'https://api.mascot.games/v1/', // This is the file path for the Operator API v1 key. 'sslKeyPath' => __DIR__.'/ssl/apikey.pem', // Sometimes it's useful to enable debug mode. // 'debug' => true, )); // This will list all games. var_export($client->listGames(array()));