Skip to content

cdnsteve/location

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

location: Geolocation REST API in Go

A very lightweight Geolocation REST API using Google App Engine. It relies on the Google App Engine generated headers to collect IP information. See example at: http://gold-cycling-94509.appspot.com/

Usage

curl http://gold-cycling-94509.appspot.com/

Returns JSON with IP address location information.

{
    "Country": "CA",
    "Region": "on",
    "City": "kingston",
    "LatLong": [
        "XX.xxxxx,-XX.xxxxx"
        ]
}

License

MIT

About

Geolocation API using Google App Engine. Written in Go

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages