Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ahmedfaragmostafa/ipinfo
- Owner: ahmedfaragmostafa
- Created: 2018-07-19T07:28:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-20T23:48:29.000Z (over 6 years ago)
- Last Synced: 2023-08-20T15:14:01.060Z (about 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
[![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.gitcd 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"
}
```