2017 © Pedro Peláez
 

library php-bittrex-api

A PHP implementation of the Bittrex API

image

jkosmetos/php-bittrex-api

A PHP implementation of the Bittrex API

  • Thursday, July 5, 2018
  • by jkosmetos
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

php-bittrex-api

A PHP implementation of the Bittrex API, (*1)

Requirements

  • php: ^5.6 || ^7.0
  • paragonie/random_compat: >=2
  • guzzlehttp/guzzle: ^6.3

Installation

Using Composer, (*2)

composer require jkosmetos/php-bittrex-api

Examples

The API KEY and SECRET can be obtained via your Bittrex profile, under Settings > Manage API Keys. For all available methods, consult the API documentation, (*3)

Public Methods

$client = new Client();
$currencies = $client->getCurrencies();

var_dump($currencies);

Account Methods

$client = new Client('KEY', 'SECRET'); 
$balances = $client->getBalances();

var_dump($balances);

Market Methods

$client = new Client('KEY', 'SECRET'); 
$orders = $client->getOpenOrders(); // Optionally add a market ie: 'ETH-XRP'

var_dump($orders);

Coming soon

  • More examples
  • Unit tests
  • Better documentation

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details, (*4)

The Versions

05/07 2018

dev-master

9999999-dev

A PHP implementation of the Bittrex API

  Sources   Download

MIT

The Requires

 

by John Kosmetos

api php library bittrex