Skip to content

Commit

Permalink
Merge pull request #97 from akeneo/readme
Browse files Browse the repository at this point in the history
Complete the readme with  link to the documentation website
  • Loading branch information
ahocquard authored Nov 29, 2017
2 parents e61fe9e + 9374cf9 commit 92579f2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ $ php composer.phar require akeneo/api-php-client php-http/guzzle6-adapter

If you want to use another HTTP client implementation, you can check [here](https://packagist.org/providers/php-http/client-implementation) the full list of HTTP client implementations.

## Documentation

Full documentation is available on the [API website](https://api.akeneo.com/php-client/introduction.html).

## Getting started

### Initialise the client
Expand All @@ -44,10 +48,6 @@ $client = $clientBuilder->buildAuthenticatedByPassword('client_id', 'secret', 'a

You can authenticate to the client with your token/refresh token as well.
```php
<?php

require_once __DIR__ . '/vendor/autoload.php';

$client = $clientBuilder->buildAuthenticatedByToken('client_id', 'secret', 'token', 'refresh_token');
```

Expand Down

0 comments on commit 92579f2

Please sign in to comment.