These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

Eseye. An opinionated, standalone PHP ESI client library.

Author
qu1ckkkk
The Warp Core Stabilizers
#1 - 2017-01-16 04:40:36 UTC  |  Edited by: qu1ckkkk
Hey!

I see a lot of people talking about accessing ESI and the difficulties there are with it from an authentication perspective. Many client libraries also rely on codegen (which is ok, but I do not really like). So, here is my heavily opinionated ESI client library project that I started this weekend.

https://github.com/eveseat/eseye

Essentially, this is the library that will be used by SeAT once it moves over to ESI, but, it can be totally used standalone by vendoring it in with composer into your project.

You can also create yourself a refresh token by running the
bin/tokengenerator
command in the package. This will start a small web server to accept the EVE Online callback and give you the refresh token needed for the library.

Its still a WIP, but feel free to give feedback/comments!

Proud developer of SeAT! A Simple Eve API & Corporation Management Tool.

Project Page: https://github.com/eveseat/seat

qu1ckkkk
The Warp Core Stabilizers
#2 - 2017-01-17 14:39:27 UTC
Added a bunch of documentation and examples to the project wiki. Should help with clearing up some questions about usage.

https://github.com/eveseat/eseye/wiki

Proud developer of SeAT! A Simple Eve API & Corporation Management Tool.

Project Page: https://github.com/eveseat/seat

qu1ckkkk
The Warp Core Stabilizers
#3 - 2017-01-22 11:19:54 UTC
Latest release will let you init a new
Eseye
instance without any authentication, giving full access to public endpoints. :)

Proud developer of SeAT! A Simple Eve API & Corporation Management Tool.

Project Page: https://github.com/eveseat/seat

qu1ckkkk
The Warp Core Stabilizers
#4 - 2017-02-19 13:08:39 UTC
Small update. For routes that want some extra query string parameters like /corporations/names/, simply call setQueryString() to set the corporation ID's.

Example:

$corp_names = $esi->setQueryString(['corporation_ids' => '878023749,98117112'])
    ->invoke('get', '/corporations/names/');

Proud developer of SeAT! A Simple Eve API & Corporation Management Tool.

Project Page: https://github.com/eveseat/seat