Skip to content
/ GeoIP Public
forked from AliasIO/GeoIP

Country information for a given IP address.

License

Notifications You must be signed in to change notification settings

junstyle/GeoIP

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GeoIP

Returns country information in JSON format for a given IP address.

Usage:

php index.php <ip_address>

Example output:

$ php index.php 63.245.215.20
{"locale_code":"en","continent_code":"NA","continent_name":"North America","country_iso_code":"US","country_name":"United States","ip_address":"63.245.215.20"}

Using Docker:

docker run alias/geoip <ip_address>

About

Country information for a given IP address.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 95.5%
  • Dockerfile 4.5%