StackFocus / SwagIP

A simple way to get your public IP address and other connection related information from any device
MIT License
3 stars 1 forks source link

Add geographical data #11

Open mprahl opened 8 years ago

mprahl commented 8 years ago

Implement the following: http://jakeaustwick.me/flask-geoip-api-in-python/

thatarchguy commented 8 years ago

gi = pygeoip.GeoIP('GeoIPCity.dat', pygeoip.MEMORY_CACHE)

ehhh we have to download GeoIPCity data. It's like 15mb!

mprahl commented 8 years ago

I think it's worth it.