I need a client side API in either Java or Ruby. I would much prefer need this to be LOCAL only. Infact this might not even be an IP, but more of a database import. The thing is that I cannot make use of a web service based one as that is too much heavy I/O for me.
Note: By geolocation, all I really need is country/region at best. I would accept actual lat/long cordinates as well.