tcatfact.py - scripts - random scripts (HTM) git clone https://git.parazyd.org/scripts (DIR) Log (DIR) Files (DIR) Refs --- tcatfact.py (144B) --- 1 #!/usr/bin/env python2 2 3 import urllib, json 4 info = json.load(urllib.urlopen("http://catfacts-api.appspot.com/api/facts")) 5 print (info['facts'])