from urllib.request import urlopen
from urllib.parse import quote
import json

request="http://geoinfo.bgpmon.io/201601/prefixes_announced_from_asn/"+quote("12145")
response = urlopen(request).readall().decode('utf-8')
jdict = json.loads(response)
for iterval in range(0,len(jdict)):
    print(jdict[iterval]["BGP_Prefix"])
Download Go interface to the geoinfo service here. [Author: Mark Newton]