Skip to content

Commit

Permalink
Merge pull request #16 from jolicode/feature/endpoints-cleanup
Browse files Browse the repository at this point in the history
endpoints cleanup and renaming + documentation
  • Loading branch information
xavierlacot authored May 14, 2020
2 parents e23e5a7 + e012e6e commit 9603968
Show file tree
Hide file tree
Showing 51 changed files with 5,363 additions and 3,913 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@

Nothing

## 4.0.0 (2020-05-14)

* fixed several endpoint names
* removed missnamed endpoints
* [documented all the available operations](doc/index.md)

## 3.0.3 (2020-02-25)

* fixed plural definition names for reports Schemas

## 3.0.2 (2020-02-25)

* Added Schemas for the "reports" endpoints

## 3.0.1 (2020-02-25)

* fixed the location of reports endpoints parameters
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,20 @@ First, you need to retrieve an access token. Please checkout Harvest's documenta
Then, use the factory that is provided to create the client:

```php
// $client contains all the methods to interact with the API
$client = JoliCode\Harvest\ClientFactory::create(
// $harvestClient contains all the methods to interact with the API
$harvestClient = JoliCode\Harvest\ClientFactory::create(
$accessToken,
$harvestAccountId
);

$clients = $client->listClients([
$clients = $harvestClient->listClients([
'is_active' => true,
])->getClients();

dump($clients);
```

Want more example or documentation? See the [documentation](doc/index.md).
Want more example or documentation? See the [documentation](doc/index.md), which lists all the available methods.

## Troubleshoot

Expand Down
Loading

0 comments on commit 9603968

Please sign in to comment.