Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ahmedfaragmostafa/ipinfo

Get all GEO info for IP
https://github.com/ahmedfaragmostafa/ipinfo

bash bash-script bashrc bootstrap

Last synced: about 1 month ago
JSON representation

Get all GEO info for IP

Awesome Lists containing this project

README

        

[![Open Source Love](https://badges.frapsoft.com/os/v2/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badges/) [![Bash Shell](https://badges.frapsoft.com/bash/v1/bash.png?v=103)](https://github.com/ellerbrock/open-source-badges/)

# ipInfo
Get information of specific IP

## How To Use
```
ipInfo 85.203.13.62
```

## Add ipInfo as command to your .zshrc || .bashrc
``` bash
# clone repo
git clone [email protected]:ahmedfaragmostafa/ipInfo.git

cd ipInfo

# install missing packages
make prepare

# add to your .zshrc
make zshrc

# add to your .bashrc
make bashrc
```

## Now you can get any ip info ;)
```
ipInfo 85.203.13.62
```

## Output
``` JSON
{
"as": "AS49544 i3D.net B.V",
"city": "Paris",
"country": "France",
"countryCode": "FR",
"isp": "Falco Networks",
"lat": 48.8628,
"lon": 2.3292,
"org": "Falco Networks",
"query": "85.203.13.62",
"region": "IDF",
"regionName": "\u00cele-de-France",
"status": "success",
"timezone": "Europe/Paris",
"zip": "75001"
}
```