Geolookup

/geolookup

Retrieves a nearby place name given a lat/lng

*Note: currently radius is not used, also the location returned is just a random Google response near the given 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":39.942778, "longitude":-82.990723, "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": "Approximate GeoLocation returned if found",
        "time": 0
    },
    "data": {
        "location_name": "Columbus, OH"
    }
}