PHP code example of logiek / raidbots-api

1. Go to this page and download the library: Download logiek/raidbots-api library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

logiek / raidbots-api example snippets


use Logiek\Raidbots\Client;

$client = new Client();

$report = $client->reports->get('oUPDjYTw26K7vr93m1vFFb');
$report = $client->reports->get('https://www.raidbots.com/simbot/report/oUPDjYTw26K7vr93m1vFFb', true);
$instances = $client->instances->get();
$talents = $client->talents->get('ptr');