Hey there I just created an AppEngine python library to map an IP address to a country code.
This is how you will be able to use the libary after you downloaded it from: http://www.vonrechenberg.ch/blog/geoip.zip * import geoip class YourHandler(webapp.RequestHandler): def get(self): (country_code, country_name) = geoip.query(self.request.remote_addr) self.response.out.write("You are from %s(%s)" % (country_name, country_code)) * It's a very quick way to lookup an ip address locally without doing any API calls. For more details on the implementation see: http://devblog.miumeet.com/2011/02/geoip-on-appengine-how-to-map-ip.html Cheers, -Andrin -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
