0.0.1 • Published 11 years ago
ipinfodb v0.0.1
Wrapper for ipinfodb.com's IP geolocation API.
Install
npm install ipinfodb
Usage
var key = '....';
client = require('ipinfodb')({ key: key });
client.geolocate('106.186.17.133', function (err, res) {
console.log(res);
});
client.ip2timezoneOffset('106.186.17.133', function (err, timezoneOffset) {
console.log(timezoneOffset);
});
0.0.1
11 years ago