Everything you need to integrate and succeed with GameAPI Pro
Official SDKs for popular programming languages
Quick integration examples for common use cases
<?php
require_once 'vendor/autoload.php';
$client = new GameAPI\Client('YOUR_API_KEY');
// Get list of games
$games = $client->games()->list();
// Create a player
$player = $client->players()->create([
'username' => 'john_doe',
'email' => 'john@example.com',
'country' => 'US'
]);
// Start a game session
$session = $client->sessions()->create([
'game_id' => 'aviator',
'player_id' => $player['id'],
'bet_amount' => 10.00
]);
const GameAPI = require('gameapi-js');
const client = new GameAPI('YOUR_API_KEY');
// Get games
const games = await client.games.list();
// Create player
const player = await client.players.create({
username: 'john_doe',
email: 'john@example.com',
country: 'US'
});
// Start session
const session = await client.sessions.create({
game_id: 'aviator',
player_id: player.id,
bet_amount: 10.00
});
import gameapi
client = gameapi.Client('YOUR_API_KEY')
# Get games
games = client.games.list()
# Create player
player = client.players.create(
username='john_doe',
email='john@example.com',
country='US'
)
# Start session
session = client.sessions.create(
game_id='aviator',
player_id=player['id'],
bet_amount=10.00
)
Step-by-step guides for common integrations
How to integrate GameAPI Pro into a WordPress site
Useful tools to help you develop and test
Essential documentation and resources