Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

Commit

Permalink
Update README.MD
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikbosch authored Aug 29, 2024
1 parent b7c0284 commit d294dd9
Showing 1 changed file with 3 additions and 27 deletions.
30 changes: 3 additions & 27 deletions README.MD
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.

0 comments on commit d294dd9

Please sign in to comment.