Showing posts with label json. Show all posts
Showing posts with label json. Show all posts

Sunday, July 31, 2011

Bitcoin software for mtgox's api

MtGox has this wonderful API: https://mtgox.com/support/tradeAPI

There's also a perl module for MtGox: http://search.cpan.org/~mndrix/Finance-MtGox-0.01/lib/Finance/MtGox.pm

And someone wrote this handy PHP bot, who I promise in the future I will donate some sort of bitcoinage too, because I ripped this thing apart and made my own, but he certainly made my life much easier:
Forum post:
http://forum.bitcoin.org/index.php?topic=31693.msg398512#msg398512
Actual Website to download File:
http://bitklein.com/bot.php

I'll post some of my modifications to the bot some time in the future.

Also if you're really interested in bitcoin mining, I invite you to take a look under the hood of the bitcoin miner poclbm
https://github.com/m0mchil/poclbm

Tuesday, July 15, 2008

JSON not working in PHP5?

If you are using PHP5 and JSON isn't working, and you compiled it or used a package manager the following switch may have been on --disable-all. To check do a phpinfo(); on your page and check. If it is on you need to recompile, without that switch. In FreeBSD you do that by editing the make file and taking out that line.