This repository has been archived by the owner on Aug 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b7c0284
commit d294dd9
Showing
1 changed file
with
3 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,6 @@ | ||
PHP Genkgo v2 API Connector | ||
============================================ | ||
|
||
[![Build Status](https://travis-ci.org/genkgo/api.png?branch=master)](https://travis-ci.org/genkgo/api) | ||
|
||
## Usage | ||
|
||
Add `genkgo/api` and implementations of `psr/http-client` and `psr/http-factory` to your dependencies and install them. | ||
You can have a look at [one of the examples](examples) or see the [docs](docs/index.md). The examples rely on | ||
[Guzzle](https://github.com/guzzle/guzzle) and [Guzzle PSR-7](https://github.com/guzzle/psr7) for the http implementations. | ||
|
||
```php | ||
<?php | ||
require_once '../vendor/autoload.php'; | ||
|
||
use Genkgo\Api\Connection; | ||
use GuzzleHttp\Client; | ||
use GuzzleHttp\Psr7\HttpFactory; | ||
|
||
$config = require_once 'config.php'; | ||
$connection = new Connection(new Client(), new HttpFactory(), $config['url'], $config['token']); | ||
|
||
$folder = $connection->command('organization', 'find', [ | ||
'name' => 'Aanmeldingen' | ||
]); | ||
``` | ||
|
||
## Info | ||
|
||
* [https://www.genkgo.com/](https://www.genkgo.com/) | ||
This repository has been archived. From September 2024 you will find the documentation our REST IntegrationAPI in your Genkgo admin, in the help section. The | ||
API that was provided with through this repository is from then on deprecated. There comes a point the endpoints will be removed from the software. Such a | ||
change will be communicated with our clients. |