Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nimacpp/ipinfoapi
- Owner: nimacpp
- Created: 2022-02-13T17:27:03.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-26T10:06:30.000Z (almost 2 years ago)
- Last Synced: 2024-11-28T08:26:21.968Z (about 1 month ago)
- Topics: api, gems, ip, ip-info, ruby
- Language: Ruby
- Homepage:
- Size: 3.91 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.countrya.countryCode
a.region
a.regionName
a.city
a.zip
a.lat
a.lon
a.timezone
a.isp
a.org
a.as
a.query