2017 © Pedro Peláez
 

library hapi

PHP Wrapper Library for the Harvest API

image

djam90/hapi

PHP Wrapper Library for the Harvest API

  • Wednesday, March 15, 2017
  • by djam90
  • Repository
  • 1 Watchers
  • 1 Stars
  • 110 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 32 Forks
  • 0 Open issues
  • 2 Versions
  • 8 % Grown

The README.md

HaPi – Harvest API

PHP Wrapper Library for the Harvest API., (*1)

Usage

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

$api = new Harvest\HarvestApi();
$api->setUser('your@email.com');
$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., (*2)

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

phpunit --exclude-group=internet

License

Hapi is licensed under the GPL-3 License - see the LICENSE file for details, (*4)

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, (*5)

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, (*6)

The Versions

15/03 2017

dev-master

9999999-dev http://github.com/djam90/hapi

PHP Wrapper Library for the Harvest API

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel api harvest

13/01 2015

0.1

0.1.0.0 http://github.com/gridonic/hapi

PHP Wrapper Library for the Harvest API

  Sources   Download

GPL-3.0

The Requires

  • php >=5.3.0

 

The Development Requires

api harvest