https://github.com/thomasklein/mite.php
PHP class providing methods to easily communicate with the mite.api
https://github.com/thomasklein/mite.php
Last synced: 10 months ago
JSON representation
PHP class providing methods to easily communicate with the mite.api
- Host: GitHub
- URL: https://github.com/thomasklein/mite.php
- Owner: thomasklein
- License: mit
- Created: 2009-10-08T16:54:31.000Z (over 16 years ago)
- Default Branch: master
- Last Pushed: 2023-05-19T07:35:25.000Z (about 3 years ago)
- Last Synced: 2023-05-19T08:29:22.334Z (about 3 years ago)
- Language: PHP
- Homepage:
- Size: 15.6 KB
- Stars: 8
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: MIT-LICENSE
Awesome Lists containing this project
README
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:
````php
require_once("path_to_class/mite.php");
$o_mite = mite::getInstance();
$o_mite->init(,, 'my_app_name/v1.2.3');
try {
$o_responseXML = $o_mite->sendRequest('get', '/time_entries.xml');
} catch (Exception $e) {
echo "
" . $e->getMessage() . "
";
}
````