PHP class providing methods to easily communicate with the mite.api
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
MIT-LICENSE
README.md
VERSION
composer.json
mite.php

README.md

PHP class providing methods to easily communicate with the mite.api

mite (http://mite.yo.lk/en) is a sleek time tracking tool for teams and freelancers.

Example usage:

require_once("path_to_class/mite.php");

$o_mite = mite::getInstance();
$o_mite->init(<YOUR_API_KEY>,<YOUR_ACCOUNT_SUBDOMAIN>, 'my_app_name/v1.2.3');
try {
    $o_responseXML = $o_mite->sendRequest('get', '/time_entries.xml');
} catch (Exception $e) {
    echo "<p>" . $e->getMessage() . "</p>";
}