Skip to content
This repository has been archived by the owner on Jul 31, 2021. It is now read-only.
/ ipdata Public archive

Golang Package for the Ipdata.co IP Geolocation API

License

Notifications You must be signed in to change notification settings

cuonglm/ipdata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ipdata - Go library for ipdata.co

Build Status Go Report Card GoDoc

Installation

go get -u github.com/cuonglm/ipdata/cmd/goipdata

Usage

$ goipdata -ip 8.8.8.8
{
    "ip": "8.8.8.8",
    "city": "",
    "region": "",
    "country_name": "United States",
    "country_code": "US",
    "continent_name": "North America",
    "continent_code": "NA",
    "latitude": 37.751,
    "longitude": -97.822,
    "asn": "AS15169",
    "organisation": "Google LLC",
    "postal": "",
    "currency": "USD",
    "currency_symbol": "$",
    "calling_code": "1",
    "flag": "https://ipdata.co/flags/us.png",
    "time_zone": ""
}

Author

Cuong Manh Le cuong.manhle.vn@gmail.com

License

See LICENSE

About

Golang Package for the Ipdata.co IP Geolocation API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages