https://github.com/ahmedfaragmostafa/ipinfo
Get all GEO info for IP
https://github.com/ahmedfaragmostafa/ipinfo
bash bash-script bashrc bootstrap
Last synced: 8 months ago
JSON representation
Get all GEO info for IP
- Host: GitHub
- URL: https://github.com/ahmedfaragmostafa/ipinfo
- Owner: ahmedfaragmostafa
- Created: 2018-07-19T07:28:07.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-20T23:48:29.000Z (almost 8 years ago)
- Last Synced: 2025-02-02T06:24:16.280Z (over 1 year ago)
- Topics: bash, bash-script, bashrc, bootstrap
- Language: Makefile
- Homepage:
- Size: 5.86 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://github.com/ellerbrock/open-source-badges/) [](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 git@github.com: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"
}
```