Created
April 12, 2014 05:55
-
-
Save anonymous/10520759 to your computer and use it in GitHub Desktop.
hit the bitcoind server remotely via SSL in python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
r=requests.get('https://127.0.0.1:8332',verify=False,data='{"jsonrpc":"1.0","id":"%s","method":"getinfo","params":[]}' % str(uuid1()),auth=('bitcoinrpc','password9')) | |
print r.content |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment