Node.js wrapper for ipinfodb.com API (IP to timezone)
JavaScript
Latest commit 642ff8c Nov 16, 2012 @olalonde inversed offset
Permalink
Failed to load latest commit information.
test first commit Nov 16, 2012
README.md
index.js
package.json first commit Nov 16, 2012

README.md

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);
});