39 lines
1.7 KiB
Markdown
39 lines
1.7 KiB
Markdown

|
|
|
|
[](https://travis-ci.org/eveseat/eseye)
|
|
[](https://codeclimate.com/github/eveseat/eseye)
|
|
[](https://codeclimate.com/github/eveseat/eseye/coverage)
|
|
[](https://packagist.org/packages/eveseat/eseye)
|
|
[](https://packagist.org/packages/eveseat/eseye)
|
|
[](https://packagist.org/packages/eveseat/eseye)
|
|
[](https://packagist.org/packages/eseye/eveapi)
|
|
[](https://styleci.io/repos/78866259)
|
|
|
|
# eseye
|
|
👾 A Standalone, Dynamic ESI (EVE Swagger Interface) Client Library written in PHP
|
|
|
|
## example usage
|
|
Its supposed to be simple!
|
|
|
|
```php
|
|
// initialization stuff
|
|
$esi = new Eseye();
|
|
|
|
// Optionally, set the ESI endpoint version to use.
|
|
// If you dont set this, Eseye will use /latest
|
|
$esi->setVersion('v4');
|
|
|
|
// make a call
|
|
$character_info = $esi->invoke('get', '/characters/{character_id}/', [
|
|
'character_id' => 1477919642,
|
|
]);
|
|
|
|
// get data!
|
|
echo $character_info->name;
|
|
```
|
|
|
|
For a more complete usage example, please refer to [example.php](example.php)
|
|
|
|
## documentation
|
|
For up to date documentation, more examples and other goodies, please check out the [project wiki](https://github.com/eveseat/eseye/wiki)!
|