IPIDB

IP geolocation tutorials

Short guides with code you can copy and run. Each one uses the IPIDB API or a database file and explains the choices on the way.