Hi developers,
Tonight I made a
MtGOX Client in PHP for the new
MtGox API v2.
There was no client available in PHP yet for the newest version so I decided to make my own.
The PHP Class is open-source so you may freely distribute it and use it for your own websites.
Currently it features the following methods:* MtGoxClient::getInfo()
* MtGoxClient::orderQuote($type = 'ask', $amount = '100000000')
* MtGoxClient::orderAdd('bid',1000000,1340293 )
* MtGoxClient::orderBuy($amount = 0.0001, $price)
* MtGoxClient::orderSell($amount = 0.0001, $price)
* MtGoxClient::orderCancel('4d484979-6237-4e66-b76d-4e8085a8b8be')
* MtGoxClient::getDepositAddress($description = null, $ipn = null)
* MtGoxClient::generateDepositAddress($account = '')
* MtGoxClient::getOrders()
* MtGoxClient::getTicker()
* MtGoxClient::getCurrency()
* MtGoxClient::setPair('BTCEUR')->getCurrency()
* MtGoxClient::getWalletHistory($currency = 'BTC', $page = 1)
These functions are sufficient to create your own Bitcoin Payment Processor.
I hope it will be useful to you. Feel free to post any feedback.
Donations are also welcome if you want to buy me a beer:
BTC = 1ABoNpvdm1e6MEAJe115bCy394ZsDgi8NJ
I'm happy to be able to contribute to the Bitcoin Community in this way.
Good luck!