nullx27-org / easi Goto Github PK
View Code? Open in Web Editor NEW⚛ Easi - A Eve Online ESI Api wrapper
Home Page: https://nullx27.github.io/easi/
⚛ Easi - A Eve Online ESI Api wrapper
Home Page: https://nullx27.github.io/easi/
After updating to the latest version i keep getting a lot of errors when calling easi
did some digging and it appears that the issue is caused by the namespacing in your ESI package
Symfony\Component\Debug\Exception\FatalThrowableError thrown with message "Class 'nullx27\ESI\Configuration' not found"
Stacktrace:
#0 Symfony\Component\Debug\Exception\FatalThrowableError in xxx\vendor\nullx27\easi\src\Configuration.php:56
final private function __construct()
{
$this->apiClientConfig = \nullx27\ESI\Configuration::getDefaultConfiguration();
$this->setUseragent('nullx27/easi');
$this->setCache(new SimpleCacheBridge(new ArrayCachePool()));
$this->setLogger(new NullLogger());
}
when you pull in the market prices the response is in a array. but the way it is sorted is kind of strange.
$easi = new Easi();
$easi->getConfig()->setCache($simpleCache);
$market = $easi->market->getPrices();
dd($market->data['34']);
i thought it would output the prices for tritanium which has the typeid of 34
instead it returns:
GetMarketsPrices200Ok {#11656 ▼
#container: array:3 [▼
"adjustedPrice" => 0.0
"averagePrice" => null
"typeId" => 32824
]
}
which is the price for Unrefined Caesarium Cadmide which is no where close. any idea on how to propperly sort the response?
whenever i try to get a name for a item type it throws
$easi->universe->getType($ship_id);
invalid datasource: en-us
This is caused by datasource and language parameters being in the wrong places. create a pull request with the fix
https://nullx27.github.io/easi/source-class-nullx27.Easi.Api.Endpoints.Character.html#27-30
Minor typo with Portrait
Try to you basic code and get this error:
$easi = new \nullx27\Easi\Easi(); $alliance = $easi->alliance->getAllianceById(99006112); print $alliance->allianceName;
Class 'nullx27\ESI\Configuration' not found
Using laravel 5.5
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.