PHP code example of eveseat / eseye

1. Go to this page and download the library: Download eveseat/eseye library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

eveseat / eseye example snippets


// 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;