2017 © Pedro Peláez
 

library mtgox

Client for MtGox API v2.

image

dicslab/mtgox

Client for MtGox API v2.

  • Friday, December 27, 2013
  • by dimak08
  • Repository
  • 3 Watchers
  • 0 Stars
  • 65 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 13 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

MtGox-PHP-API-V2

MtGox Client for API v2, (*1)

This repository contains the MtGox Client for API v2 and an example.php to demonstrate the MtGox API v2 methods., (*2)

This PHP Class is open-source and may be freely distributed., (*3)

API Methods

  • MtGoxClient::getInfo()
  • MtGoxClient::getWalletHistory()
  • MtGoxClient::setPair('BTCEUR')->getCurrency()
  • MtGoxClient::orderAdd('bid',1000000,1340293 )
  • MtGoxClient::orderCancel('4d484979-6237-4e66-b76d-4e8085a8b8be')
  • MtGoxClient::getDepositAddress($description = null, $ipn = null)
  • MtGoxClient::generateDepositAddress($account = '')
  • MtGoxClient::getOrders()
  • MtGoxClient::getTicker()
  • MtGoxClient::getCurrency()
  • MtGoxClient::orderQuote($type = 'ask', $amount = '100000000')
  • MtGoxClient::orderBuy($amount = 0.0001, $price)
  • MtGoxClient::orderSell($amount = 0.0001, $price)
  • MtGoxClient::orderAdd($type, $amount = 0.0001, $price)
  • MtGoxClient::orderCancel($orderId)
  • MtGoxClient::generateDepositAddress($account)
  • MtGoxClient::getDepositAddress($description = null, $ipn = null)
  • MtGoxClient::getWalletHistory($currency = 'BTC', $page = 1)

Internal Methods

  • MtGoxClient::setPair($pair = 'BTCUSD')
  • MtGoxClient::checkRequired()
  • MtGoxClient::error()

The Versions

27/12 2013

dev-master

9999999-dev https://github.com/dicslab/mtgox

Client for MtGox API v2.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • ext-mbstring *

 

bitcoin mtgox