Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Latest commit

 

History

History
28 lines (20 loc) · 640 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 640 Bytes

Poloniex PHP Client

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