´╗┐Where Am I

The Where Am I resource lets applications query for positioning information.

Resource Properties

Name Description Returns
latitude the latitude of the position number
longitude the longitude of the position number
city the identified city name string
country the identified country name string
countryCode the identified country code string
region the identified region string

HTTP(s) GET Operations

Getting location by IP

/whereami/

Getting location by providing an IP

/whereami/?ip=ip_address

ADDb will try to get a position based on the IP-address of the client

Getting location by providing latitude and longitude

/whereami/location

Location should be provided in comma separated format ex. 59.336429,18.057808

.NET Client Library

var location = ADDbClient.WhereAmI(48.123, -75.456);
var other = ADDbClient.WhereAmI("An ip-address");