Giter Site home page Giter Site logo

mtgox-php-api-v2's Introduction

MtGox-PHP-API-V2

MtGox Client for API v2

This repository contains the MtGox Client for API v2 and an example.php to demonstrate the MtGox API v2 methods.

This PHP Class is open-source and may be freely distributed.

Donations are welcome BTC: 1ABoNpvdm1e6MEAJe115bCy394ZsDgi8NJ

Best regards,

Pathaksa Tongpitak

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

mtgox-php-api-v2's People

Contributors

pathaksa avatar

Watchers

James Cloos avatar Highlander avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.