Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def balance_io(cls, address):
- h = urllib2.urlopen('http://btc.blockr.io/api/v1/address/info/%s' % address)
- json = simplejson.load(h)
- data = json['data']
- f = data['balance']
- return f
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement