pholoniex is a PHP library which provides calling poloniex-API.
- simple interface
use Pholoniex\PholoniexClient;
$client = new PholoniexClient();
$ticker_list = $client->getTicker();
foreach($ticker_list as $symbol => $ticker){
echo "[$symbol]" . $ticker['last'] . PHP_EOL;
}
- create PholoniexClient object.
- call API method.
- The method returns array or object(stdClass).
PHP 5.5 or later
The recommended way to install pholoniex is through Composer.
composer require stk2k/pholoniex
After installing, you need to require Composer's autoloader:
require 'vendor/autoload.php';
This software is no warranty.
We are not responsible for any results caused by the use of this software.
Please use the responsibility of the your self.
-Bitcoin: 3HCw9pp6dSq1xU9iPoPKVFyVbM8iBrrinn