dashboard
repositories
filestore
activity
search
login
main
/
exchange
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
modify
Helius
2021-05-25
2d398a2bbd4a210ffd885f0b0b0a0f99edd84707
[exchange.git]
/
src
/
test
/
resources
/
static
/
xch.py
1
2
3
4
5
6
7
8
import urllib
import urllib2
import re
headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0'}
request = urllib2.Request("https://api2.chiaexplorer.com/blockchainSummary", headers=headers)
response = urllib2.urlopen(request)
print response.read()