I’ve made a simple site to show you the country name, code from the ip given.
Check this out at http://ip.vivekv.com/
API is also available. All you have to do is to post the ip address. You will get a json encoded string contains the country name and two letter code.
Vivek