Author

Topic: MtGox PHP Client for API V2 - v0.1 (Read 1160 times)

member
Activity: 84
Merit: 10
September 30, 2013, 03:28:07 PM
#6
Thank you and I will keep updating it. I am also working on a BTC-E API Client. And after that I will be creating an Arbitration Tool between BTC-E and MtGox.
sr. member
Activity: 420
Merit: 250
★☆★777Coin★☆★
September 30, 2013, 08:18:45 AM
#5
good work you are real helpful for this community
b!z
legendary
Activity: 1582
Merit: 1010
September 30, 2013, 07:40:59 AM
#4
Very nice. I'm sure this will be useful to many Bitcoin users.
member
Activity: 84
Merit: 10
September 29, 2013, 10:24:58 PM
#3
I added your link to teh wiki.
Thank you Smiley I appreciate it.
hero member
Activity: 714
Merit: 500
Psi laju, karavani prolaze.
September 29, 2013, 10:20:16 PM
#2
I added your link to teh wiki.
member
Activity: 84
Merit: 10
September 29, 2013, 10:00:50 PM
#1
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!

Jump to: