Skip to content
No description or website provided.
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
public
views
.gems
README
config.ru
main.rb

README

Simple WSDL-to-REST Webservice and UI for the GeoIPService
(http://www.webservicex.net/WCF/ServiceDetails.aspx?SID=46)


As well as providing a simple user interface for looking up the
location of an IP address through an HTML form, 
the API supports the following methods:

/api/location.<FORMAT>?ip=<IP-ADDRESS>

Where <FORMAT> is the desired output format.
Current options are .xml and .json

INSTALLATION:

You'll need ruby and rubygems
install sinatra:

sudo gem install sinatra

run the app on localhost:

ruby main.rb
Something went wrong with that request. Please try again.