PHP code example of theskillz / okdesk-api

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

    

theskillz / okdesk-api example snippets



use \OkDesk\Api;

$api = new Api("your_okdesk_domain", "your_okdesk_token");

$issue = $api->issues->view(123);
$companiesList = $api->companies->all(['search_string' => 'ACME Ltd']);

bash
php composer.phar