Skip to content

huacnlee/ip-location

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ip-location

通过淘宝 IP 库查询 IP 所在地域位置 http://ip.taobao.com

Limit

  • 官方限制每个服务器请求过去屏率无能超过 10 Qps。

Usage

irb> require "ip-location"
true
irb> info = IPLocation.query("222.212.254.17")
irb> info.country
"中国"
ifb> info.region
"四川省"
irb> info.city
"成都市"
irb> info.isp
"电信"
irb> info.fullname
"中国四川省成都市"

About

通过淘宝 IP 库查询 IP 所在地域位置 http://ip.taobao.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages