json - Get the ISP of an IP in node.js -
is there way perform whois on ip isp provides ip in node.js/express server ?
i got ip, i'm not looking way client's ip.
i've found ways external request paid services sends json, find native way.
do guys know me ?
edit: i'm not trying build whois server, need application build client's isp name.
you can isp information using node-whois module in response quite complex access value particular key. there way can use satellite module, module can give quick response , response available in json format can access key values easily. here code.
var satelize = require('satelize'); var externalip = "173.194.70.100"; // asume that, have external(public)ip satelize.satelize({ip: extenalip}, function(err, geodata) { if(err){ console.log(" error in retriving isp information"); } else { console.log("isp information "+ externalip+" :"+geodata ); } });
Comments
Post a Comment