Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: kokjo on May 19, 2013, 06:47:32 PM



Title: simple access to the bitcoind api(Python)
Post by: kokjo on May 19, 2013, 06:47:32 PM
https://gist.github.com/kokjo/5608566


Title: Re: simple access to the bitcoind api(Python)
Post by: maaku on May 20, 2013, 02:58:59 PM
Replace "from jsonrpc import ServiceProxy" with "from bitcoin.rpc import Proxy". You want to make sure you're using Decimal numbers, not floats for monetary amounts, and the JSON-RPC api has a few non-standard oddities:

https://github.com/monetizeio/python-bitcoin/blob/master/bitcoin/rpc.py


Title: Re: simple access to the bitcoind api(Python)
Post by: wumpus on May 20, 2013, 03:00:51 PM
https://github.com/laanwj/bitcoin-python