2017 © Pedro Peláez
 

library conduit

Simple EVE Online ESI client

image

nullx27/conduit

Simple EVE Online ESI client

  • Monday, March 19, 2018
  • by nullx27
  • Repository
  • 2 Watchers
  • 2 Stars
  • 72 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 1 Versions
  • 16 % Grown

The README.md

Conduit - EVE Online ESI Client

Requirements

PHP 7.1 or later, (*1)

Installation

Use composer to install:, (*2)

composer require nullx27/conduit

Getting started

Conduit is a easy to use minimalistic ESI APi client., (*3)

<?php

require_once(__DIR__ . '/vendor/autoload.php');

$api = new \Conduit\Conduit();

$api->alliances(434243723)->get();

Authenticated ESI calls, (*4)

<?php

require_once(__DIR__ . '/vendor/autoload.php');

$clientId = 'your-client-id';
$clientSecret = 'your-client-secrete';
$refreshToken = 'user-refresh-token';

$auth = new \Conduit\Authentication($clientId, $clientSecret, $refreshToken);
$api = new \Conduit\Conduit($auth);

Conduit requests its own access tokens and renews them when they expire., (*5)

Configuration

Conduit can use any PSR-6 compatible caching library to stay in line with CCP request guidelines, (*6)

<?php

$api = new \Conduit\Conduit();
$api->getConfiguration()->setCache($yourCacheInstance);

You can set a different datasource for your esi requests. The default is 'tranquility'., (*7)

<?php

$api = new \Conduit\Conduit();
$api->getConfiguration()->setDatasource('singularity');

Bug repots

Please use Github Issues for bug reports., (*8)

The Versions

19/03 2018

dev-master

9999999-dev

Simple EVE Online ESI client

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andre Peiffer

api php lib esi eve-online