StatDNS

PAID
By fcambus
Updated 5 months ago
Tools
7.8/10
Popularity Score
277ms
Latency
93%
Success Rate
lirbank3 years ago
Check consumptionWe many times go over our daily allotment, is there any way to check our current overage? Best!
lirbank3 years ago
Got it, thanks a bunch for the help!
fcambus3 years ago
Hi, Indeed, it seems user dashboard have the analytics in a different location. The graph you are seeing is the same I have on my side, sadly it doesn't seem to be possible to view accumulated overage. The closest you can get is seeing total monthly requests to have an average approximation. Regards.
lirbank3 years ago
But where is the Analytics & settings tab? I only have Documentation, Pricing, API support (see https://www.dropbox.com/s/m26d6ehbq0dbfjp/Screenshot%202016-01-31%2023.29.05.png?dl=0) There is an Analytics section in my account, but it only shows a high level graph (https://www.dropbox.com/s/2wgmpr6aw9pd4vd/Screenshot%202016-01-31%2023.31.05.png?dl=0). Was hoping to see our accumulated overage. Is that possible?
fcambus3 years ago
Hi, You can check your usage in the "Analytics & settings" tab. For info, our dashboard is showing that you performed 1244 requests today. Regards.
Hi Developer, feel free to post your answer:

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://statdns-v1.p.rapidapi.com/{domain}/{querytype}")
.header("X-RapidAPI-Host", "statdns-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication