PHP code example of sezerfidanci / tjkapi

1. Go to this page and download the library: Download sezerfidanci/tjkapi 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/ */

    

sezerfidanci / tjkapi example snippets


use TJK\TJK;

$tjkAPI = new TJK();

$tjkAPI->getTodayRaces();

$tjkAPI->getTodayRaces();

$date = '20210410';

$tjkAPI->getRacesByDate($date);

$tjkAPI->getTodayResult();

$date = '20210410';

$tjkAPI->getResultByDate($date);