IP location API example
in
Programming Questions
•
2 years ago
I'm hoping to make a sketch using an api to (eventually) generate a shape from location data gathered by using an ip lookup api. I have found some examples on the home page of the api but I'm not proficient enough in any of the languages provided, if someone could take a look for me and explain how I might make a simple individual request for a given ip address I would realy appreciate it.
I have done a little work using the tweetstream library so I understand how it works in principle but I can't be sure if i need to use the php code provided or if I can do it more simply somehow.
Here is the api homepage:
http://ipinfodb.com/ip_location_api.php
And here is the javascript example code:
http://ipinfodb.com/ip_location_api_json.php
Thanks, L.
1