cloudflare
Version:
The official TypeScript library for the Cloudflare API
23 lines • 972 B
JavaScript
;
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
Object.defineProperty(exports, "__esModule", { value: true });
exports.IQI = void 0;
const resource_1 = require("../../../resource.js");
class IQI extends resource_1.APIResource {
/**
* Retrieves a summary (percentiles) of bandwidth, latency, or DNS response time
* from the Radar Internet Quality Index (IQI).
*/
summary(query, options) {
return this._client.get('/radar/quality/iqi/summary', { query, ...options })._thenUnwrap((obj) => obj.result);
}
/**
* Retrieves a time series (percentiles) of bandwidth, latency, or DNS response
* time from the Radar Internet Quality Index (IQI).
*/
timeseriesGroups(query, options) {
return this._client.get('/radar/quality/iqi/timeseries_groups', { query, ...options })._thenUnwrap((obj) => obj.result);
}
}
exports.IQI = IQI;
//# sourceMappingURL=iqi.js.map