 {
    "api_name": "Game Provider API",
    "version": "1.0",
    "description": "API for slot game providers to register and list their games. Configure your requests to the base_url below.",
    "base_url": "https:\/\/www.boy.sex\/provider_api.php",
    "endpoints": [
        {
            "action": "register",
            "method": "POST",
            "description": "Register a new game provider",
            "auth": "None required",
            "parameters": {
                "provider_name": "string (required) - Name of the provider",
                "contact_email": "string (optional) - Contact email",
                "website_url": "string (optional) - Provider website",
                "logo_url": "string (optional) - Provider logo URL"
            },
            "response": "Returns API key and secret for future requests"
        },
        {
            "action": "update_games",
            "method": "POST",
            "description": "Update or add games to your provider account",
            "auth": "X-API-Key header or api_key parameter",
            "parameters": {
                "games": "JSON array (required) - Array of game objects",
                "game_id": "string (required) - Unique game identifier",
                "game_name": "string (required) - Game name",
                "category": "string (optional) - Game category (default: slots)",
                "thumbnail_url": "string (optional) - Game thumbnail URL",
                "demo_url": "string (optional) - Demo game URL",
                "min_bet": "float (optional) - Minimum bet amount",
                "max_bet": "float (optional) - Maximum bet amount",
                "rtp": "float (optional) - Return to player percentage"
            }
        },
        {
            "action": "status",
            "method": "GET",
            "description": "Check your provider account status",
            "auth": "X-API-Key header or api_key parameter",
            "response": "Returns provider information and status"
        },
        {
            "action": "heartbeat",
            "method": "POST",
            "description": "Keep connection alive and update last connection time",
            "auth": "X-API-Key header or api_key parameter"
        }
    ],
    "authentication": {
        "method": "API Key",
        "header": "X-API-Key: your_api_key",
        "parameter": "api_key=your_api_key (POST\/GET)"
    },
    "example_curl": {
        "register": "curl -X POST https:\/\/www.boy.sex\/provider_api.php?action=register -d \"provider_name=MyProvider&contact_email=contact@example.com\"",
        "update_games": "curl -X POST https:\/\/www.boy.sex\/provider_api.php?action=update_games -H \"X-API-Key: your_api_key\" -d 'games=[{\"game_id\":\"game1\",\"game_name\":\"My Game\"}]'",
        "status": "curl https:\/\/www.boy.sex\/provider_api.php?action=status -H \"X-API-Key: your_api_key\""
    },
    "note": "rah.bar is the game platform (https:\/\/rah.bar). This provider API runs on the casino site above; use base_url for register\/update_games\/status."
}