All Projects → gridonic → hapi

gridonic / hapi

Licence: GPL-3.0 license
PHP Wrapper Library for the Harvest API

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to hapi

PoE-HarvestVendor
Tool for getting the list of crafts out of Horticrafting station in Path of exile
Stars: ✭ 68 (+65.85%)
Mutual labels:  harvest
oai-harvest
Python package for harvesting records from OAI-PMH provider(s).
Stars: ✭ 57 (+39.02%)
Mutual labels:  harvest
minutes
Sync worklogs between multiple time trackers, invoicing, and bookkeeping software.
Stars: ✭ 19 (-53.66%)
Mutual labels:  harvest
python-harvest
A Python wrapper for the Harvest time-tracking API.
Stars: ✭ 53 (+29.27%)
Mutual labels:  harvest
harvesting
Ruby wrapper for the Harvest API v2
Stars: ✭ 24 (-41.46%)
Mutual labels:  harvest

HaPi – Harvest API

PHP Wrapper Library for the Harvest API.

Build Status Code Climate Dependency Status Total Downloads Latest Stable Version Latest Unstable Version License

Usage

<?php
require __DIR__ . '/vendor/autoload.php';

$api = new Harvest\HarvestApi();
$api->setUser('[email protected]');
$api->setPassword('password');
$api->setAccount('account');

$result = $api->getClient(12345);

Run tests

Tests include some live API calls by default. For this to work, you will have to create a local copy of harvest_api_config.json by copying the provided harvest_api_config.json.dist and providing your own Harvest account credentials.

In order to exclude the tests that require a valid Harvest account and internet connection, invoke the test runner as follows:

phpunit --exclude-group=internet

License

Hapi is licensed under the GPL-3 License - see the LICENSE file for details

Acknowledgements

This version of the library is a rewrite that uses composer and proper PSR-0 standard for autoloading. The original version of the library was written by Matthew John Denton and can be downloaded from http://labs.mdbitz.com/harvest-api

Submitting bugs and feature requests

Since this is a rewrite, it is very well possible that some parts of the library do not work yet or anymore. Bugs and feature request are tracked on GitHub

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].