andreas-glaser/poloniex-php-client

This package is abandoned and no longer maintained. No replacement package was suggested.

An efficient poloniex rest api client, built on top of guzzle

dev-master / 1.0.x-dev 2018-01-27 08:16 UTC

This package is auto-updated.

Last update: 2023-11-05 01:47:00 UTC


README

An efficient poloniex rest api client, built on top of guzzle

Requirements

Installation

composer require andreas-glaser/poloniex-php-client dev-master

Usage

<?php

use AndreasGlaser\PPC\PPC;

$apiKey = 'YOUR_PRIVATE_API_KEY';
$apiSecret = 'YOUR_PRIVATE_API_SECRET';

/** @var PPC $pcc */
$pcc = new PPC($apiKey, $apiSecret);

$result = $pcc->buy('BTC_ETH', 0.034, 100, 1);

var_dump($result->decoded);