Skip to content
This repository has been archived by the owner on Nov 11, 2023. It is now read-only.
/ node-ipgeo Public archive

Geo info retriver for ipv4 address using chinese taobao service

Notifications You must be signed in to change notification settings

aichaoxy/node-ipgeo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-ipgeo

Geo info retriver for ipv4 address using chinese taobao service.

Inspired by huacnlee/ip-location.

Goal

Retrieve geo info for ip address via ip.taobao.com .

Limit

  • The official limit: for every user, qps < 10. ref

Usage

var ipgeo = require('../index');


ipgeo.query('182.138.127.93', (d) => {
    console.log(d.country)      # 中国
    console.log(d.region)       # 四川
    console.log(d.city)         # 成都
});

About

Geo info retriver for ipv4 address using chinese taobao service

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published