2017-25 © Pedro Peláez
 

library bittrex

API Wrapper for the Bittrex cryptocurrency exchange

image

ypho/bittrex

API Wrapper for the Bittrex cryptocurrency exchange

  • Thursday, June 15, 2017
  • by Ypho
  • Repository
  • 3 Watchers
  • 3 Stars
  • 117 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Bittrex API Wrapper

This package is a wrapper for the Bittrex.com Exchange. It can be used to check the current market, check your portfolio and place buy and sell orders., (*1)

Requirements

  • Account on bittrex.com, with an API key and API secret.

Usage

Install this package using:, (*2)

composer require ypho/bittrex

Create an instance of the bittrex object, and call one of the available methods., (*3)

use Ypho\Bittrex\Client;

$key = 'here-comes-the-api-key-from-bittrex';
$secret = 'this-is-the-api-secret-from-bittrex';

// Create a new Bittrex client object
$btx = new Client($key, $secret);

// Get the current values for the BTC-LTC market
$ticker = $btx->ticker('BTC-LTC);

// Get the current orderbook for the BTC-DGB market
$oderBook = $btx->orderBook('BTC-DGB');

// Get your open orders for the BTC-ETH market
$orders = $btx->orderHistory('BTC-ETH);

The Versions

15/06 2017

dev-master

9999999-dev http://www.ypho.nl

API Wrapper for the Bittrex cryptocurrency exchange

  Sources   Download

The Requires

  • php ^7.0
  • ext-curl *

 

by Ivo Geersen

cryptocurrency bitcoins bittrex