Wednesday, July 9, 2014

How to GET geolocation data from an IP Address in Zoho Creator


 
freegeoip.net is a public REST API for searchinggeolocation of IP addresses and host names.
It has an internal database with geolocation information, which is queried via the API. There's no sorcery, it's just a database. And although the database is very accurate, don't expect it to be perfect.

Zoho Creator is a leading online database application platform. You can build online databases in minutes using its intuitive drag-adn-drop builder. Over 800,000 databases are created online by business users from various industries. Try it Free
To blend the two copy the below function inside your creator application and test utilizing the record ID of the field containing the IP address in reference.
string getgoelocation(int ID)
{
c = MyFormName [ID == input.ID];   
ipaddress = getUrl("http://freegeoip.net/xml/"+c.IPAddress,false);
response = ipaddress.get("responseText");
return response;
}
//c.IPAddress  is the name of the field inside your Creator form.
The return variable "response" will contain all the geolocation values for the IP address entered. If you have any Q. dont hesitate to post a comment below and I will respond as soon as possible. Good luck!

5 comments:

  1. This is often very fascinating attempt! That is incredibly well explained and articulated particularly favorable circumstances to hosting trade. It’s music to my ears.
    Thanks and cheers!

    Fully dedicated

    ReplyDelete
  2. Your work is truly appreciated round the clock and the globe. It is incredibly a comprehensive and helpful blog. https://192-168-i-i.com/

    ReplyDelete
  3. Grandstream PBX System- Grandstream Distributor Cameroon VDS the Grandstream distributor in  Cameroon continues to bring innovative Grandstream Products to the IP communications / Telephony market with compelling values and features. Grandstream Networks is headquartered in Brookline, Massachusetts with offices in Grandstream Office Phones

    ReplyDelete
  4. Thanks for sharing this useful informative post to our knowledge. oracle training in chennai

    ReplyDelete
  5. Reach to the best Data Science Training institute in Chennai for skyrocketing your career, Infycle Technologies. It is the best Software Training & Placement institute in and around Chennai, that also gives the best placement training for personality tests, interview preparation, and mock interviews for leveling up the candidate's grades to a professional level.

    ReplyDelete