I'm using Django 1.73 on Python 2.7.
How can I query the ASN for a known IP address using GeoIP Django?
from django.contrib.gis.geoip import GeoIP
g = GeoIP()
g.city('72.14.207.99') #returns the city
g.country('google.com') #returns the country
how can I query the asn with Django? (have installed the ASN binaries on GEO_PATH)
Edit
I've researched and found there exist a Python package PyGeoIP,
In documentation there exist an ASN lookup but I don't know how to call with GeoDjango directly than using this package.