Awesome-Python-Scripts/location_using_ip_address.py

4 lines
58 B
Python

import geocoder
g = geocoder.ipinfo('me')
print(g.latlng)