dashboard
repositories
filestore
activity
search
login
main
/
exchange
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
20210528
xiaoyong931011
2021-05-28
19b5281d009c9bd70f15c6bfabc916942f892103
[exchange.git]
/
src
/
main
/
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()