jkosmetos/php-bittrex-api

A PHP implementation of the Bittrex API

Installs: 11

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 1

Open Issues: 0

pkg:composer/jkosmetos/php-bittrex-api

dev-master 2018-10-09 09:00 UTC

This package is not auto-updated.

Last update: 2025-10-21 16:43:57 UTC


README

A PHP implementation of the Bittrex API

Requirements

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

Installation

Using Composer

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

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