Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/nimacpp/ipinfoapi

gems about ip-info
https://github.com/nimacpp/ipinfoapi

api gems ip ip-info ruby

Last synced: 8 days ago
JSON representation

gems about ip-info

Awesome Lists containing this project

README

        

# ipinfoapi
information about ip

# usage
```
require 'ipinfoapi'
```
# install
```bash
gem install ipinfoapi
```
# doucment
fist write this form
```
require 'ipinfoapi'

a = IPinfo.new('ip or nil for use your ip')
a.country

a.countryCode

a.region

a.regionName

a.city

a.zip

a.lat

a.lon

a.timezone

a.isp

a.org

a.as

a.query