dashboard
repositories
filestore
activity
search
login
main
/
exchange
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
55测试环境
KKSU
2024-04-17
829f629756e5402bcd3e9f6ef1f9c6dbffbabb11
[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()