Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add FreeGeoIP provider #90

Closed
DenisCarriere opened this issue Dec 16, 2014 · 1 comment
Closed

Add FreeGeoIP provider #90

DenisCarriere opened this issue Dec 16, 2014 · 1 comment

Comments

@DenisCarriere
Copy link
Owner

http://freegeoip.net

@DenisCarriere
Copy link
Owner Author

Added FreeGeoIP provider

$ geocode '99.240.181.199' --provider freegeoip --pretty --geojson
{
    "geometry": {
        "type": "Point", 
        "coordinates": [
            -75.691, 
            45.413
        ]
    }, 
    "type": "Feature", 
    "properties": {
        "status": "OK", 
        "city": "Ottawa", 
        "ip": "99.240.181.199", 
        "address": "Ottawa, Ontario Canada", 
        "provider": "freegeoip", 
        "time_zone": "America/Toronto", 
        "state": "Ontario", 
        "location": "99.240.181.199", 
        "country": "Canada", 
        "postal": "K2P"
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant