Also Blockonomics
api I suggest you have a look a
moneywagon project.
Using it you can use bitcoin api, without worrying about backend service.
It will do roundrobin/random selection of service, or also can do paranoid checking to make sure balance is correct
across several services. It also supports most of the existing API services
Thanks for this new API, but don't have JSON response...
what do you call this if not JSON response
{"response": [{"confirmed": 189412205, "addr": "1dice8EMZmqKvrGE4Qc9bUFf9PX3xaYDp", "unconfirmed": 012211 }, {"confirmed": 746599881, "addr": "1dice97ECuByXAvqXpaYzSaQuPVvrtmz6", "unconfirmed": 0}]}
i Call with python program, no errors in others APIs but, this not work:
addr = '1dice8EMZmqKvrGE4Qc9bUFf9PX3xaYDp'
request = 'https://www.blockonomics.co/api/balance/' + addr
response = requests.get(request)
content = response.json()
content = int(content['response']['confirmed'])
i receive this error:
content = response.json()
File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 812, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded