@globalping/n8n-nodes-globalping
Version:
The Globalping n8n node allows you to perform network measurements such as ping, traceroute, mtr, http and DNS lookups from thousands of locations around the world.
37 lines • 1.1 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.GlobalpingApi = void 0;
class GlobalpingApi {
constructor() {
this.name = 'globalpingApi';
this.displayName = 'Globalping API';
this.documentationUrl = 'https://globalping.io/docs/api.globalping.io';
this.properties = [
{
displayName: 'Access token',
name: 'accessToken',
type: 'string',
default: '',
typeOptions: {
password: true,
},
},
];
this.authenticate = {
type: 'generic',
properties: {
headers: {
Authorization: '=Bearer {{$credentials.accessToken}}',
},
},
};
this.test = {
request: {
baseURL: 'https://api.globalping.io',
url: '/v1/limits',
},
};
}
}
exports.GlobalpingApi = GlobalpingApi;
//# sourceMappingURL=GlobalpingApi.credentials.js.map