Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

/geolookup
Retrieves a nearby place name given a lat/lng
Possible Methods

POST

Arguments

n/a

Json Object
{
    Double latitude;
    Double longitude;
    Double radius
}

 

Example
curl -b cookies.txt -X POST -d '{"latitude":36.4, "longitude":-25.7665, "radius":12}' "http://localhost:8185/geolookup" > response.txt

 

Example Response

curl -b cookies.txt -X POST -d '{"latitude":36.4, "longitude":-25.7665, "radius":12}' "http://localhost:8185/geolookup" > response.txt

{
    "response": {
        "action": "GeoLookup",
        "success": true,
        "message": "Geo lookup still needs to be implemented",
        "time": 0
    },
    "data": {
        "location_name": "Columbus, OH"
    }
}
  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.