{"id":21599180,"url":"https://github.com/gridonic/hapi","last_synced_at":"2025-04-11T01:10:27.841Z","repository":{"id":4948835,"uuid":"6106103","full_name":"gridonic/hapi","owner":"gridonic","description":"PHP Wrapper Library for the Harvest API","archived":false,"fork":false,"pushed_at":"2017-10-02T20:07:26.000Z","size":186,"stargazers_count":41,"open_issues_count":4,"forks_count":21,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-03-24T21:51:08.074Z","etag":null,"topics":["api","harvest","library","php"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gridonic.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-10-06T19:39:12.000Z","updated_at":"2023-01-16T00:40:14.000Z","dependencies_parsed_at":"2022-09-25T04:40:31.298Z","dependency_job_id":null,"html_url":"https://github.com/gridonic/hapi","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gridonic%2Fhapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gridonic%2Fhapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gridonic%2Fhapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gridonic%2Fhapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gridonic","download_url":"https://codeload.github.com/gridonic/hapi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248199247,"owners_count":21063641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","harvest","library","php"],"created_at":"2024-11-24T18:14:37.842Z","updated_at":"2025-04-11T01:10:27.827Z","avatar_url":"https://github.com/gridonic.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"HaPi – Harvest API\n==================\n\nPHP Wrapper Library for the Harvest API.\n\n[![Build Status](https://travis-ci.org/gridonic/hapi.svg?branch=master)](https://travis-ci.org/gridonic/hapi)\n[![Code Climate](https://codeclimate.com/github/gridonic/hapi/badges/gpa.svg)](https://codeclimate.com/github/gridonic/hapi)\n[![Dependency Status](https://www.versioneye.com/user/projects/54b59bf305064657eb0000c1/badge.svg?style=flat)](https://www.versioneye.com/user/projects/54b59bf305064657eb0000c1)\n[![Total Downloads](https://poser.pugx.org/gridonic/hapi/d/total.svg)](https://packagist.org/packages/gridonic/hapi)\n[![Latest Stable Version](https://poser.pugx.org/gridonic/hapi/v/stable.svg)](https://packagist.org/packages/gridonic/hapi)\n[![Latest Unstable Version](https://poser.pugx.org/gridonic/hapi/v/unstable.svg)](https://packagist.org/packages/gridonic/hapi)\n[![License](https://poser.pugx.org/gridonic/hapi/license.svg)](https://packagist.org/packages/gridonic/hapi)\n\nUsage\n-----\n\n```php\n\u003c?php\nrequire __DIR__ . '/vendor/autoload.php';\n\n$api = new Harvest\\HarvestApi();\n$api-\u003esetUser('your@email.com');\n$api-\u003esetPassword('password');\n$api-\u003esetAccount('account');\n\n$result = $api-\u003egetClient(12345);\n```\n\nRun tests\n---------\n\nTests include some live API calls by default. For this to work, you will have to create a local copy of\n```harvest_api_config.json``` by copying the provided ```harvest_api_config.json.dist``` and providing your own\nHarvest account credentials.\n\nIn order to exclude the tests that require a valid Harvest account and internet connection, invoke the test runner\nas follows:\n\n    phpunit --exclude-group=internet\n\nLicense\n-------\n\nHapi is licensed under the GPL-3 License - see the `LICENSE` file for details\n\nAcknowledgements\n----------------\n\nThis version of the library is a rewrite that uses composer and proper PSR-0 standard\nfor autoloading. The original version of the library was written by Matthew John Denton\nand can be downloaded from http://labs.mdbitz.com/harvest-api\n\nSubmitting bugs and feature requests\n------------------------------------\n\nSince this is a rewrite, it is very well possible that some parts of the library\ndo not work yet or anymore. Bugs and feature request are tracked on [GitHub](https://github.com/gridonic/hapi/issues)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgridonic%2Fhapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgridonic%2Fhapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgridonic%2Fhapi/lists"}