PHP code example of orhanbhr / iddaa-bot-2020

1. Go to this page and download the library: Download orhanbhr/iddaa-bot-2020 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/ */

    

orhanbhr / iddaa-bot-2020 example snippets


use orhanbhr\IddaaBot\Controllers\IddaaBotController;

$bot = new IddaaBotController();
$json = $bot->program();
var_dump($json);

$bot->detail(2, 231998);

$bot->program(2);

$bot->lang('tr')->program();

$bot->responseType(0)->program();