Auto pushed

This commit is contained in:
nannal 2020-01-25 14:06:44 +02:00
commit d0fe8dc706

9
main.py Executable file
View File

@ -0,0 +1,9 @@
#! /usr/bin/env python3
import requests
import json
for i in range(1,1000):
url= 'http://10.0.0.100:3001/block/' + str(i)
r = requests.get(url)
print(url)
j = json.loads(r.text)
print(j['txs'])