Title: Looking for a line of code that will read transactions values on the blockchain Post by: WorldOfBitcoin on September 25, 2012, 12:06:44 AM and submit them into a SQL database.
Anyone got some good “for dummies” write ups on how to implement the blockchain.info api into a website like that? trying to make sense of this http://blockchain.info/api/blockchain_api Title: Re: Looking for a line of code that will read transactions values on the blockchain Post by: scintill on September 25, 2012, 02:03:34 AM Use the json_decode (http://us3.php.net/manual/en/function.json-decode.php)() function. Here's an easy way to copy-paste chunks of JSON into PHP:
Code: <?php Replace the stuff between <<<JSON and JSON with the JSON code. Title: Re: Looking for a line of code that will read transactions values on the blockchain Post by: WorldOfBitcoin on September 25, 2012, 02:19:52 AM nice, will work on that.
I found a link on Websocket API https://blockchain.info/api/api_websocket going to read up on this, thinks its going to be the best route. |