Skip to content

Instantly share code, notes, and snippets.

@justindavies
Created September 14, 2018 11:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justindavies/832f40a8fa7b75d974f000c7320db04b to your computer and use it in GitHub Desktop.
Save justindavies/832f40a8fa7b75d974f000c7320db04b to your computer and use it in GitHub Desktop.
import urllib, json
url = "http://api.inkl.in/api/inklin/live/0"
response = urllib.urlopen(url)
data = json.loads(response.read())
print "Starting from " + str(data["block_number"])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment