UNPKG

n8n-nodes-webmetic

Version:

n8n node for Webmetic API - Get company visits data (new, intensive, and returning visitors) with minute-level date filtering

45 lines 1.33 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.WebmeticApi = void 0; class WebmeticApi { constructor() { this.name = "webmeticApi"; this.displayName = "Webmetic API"; this.documentationUrl = "https://hub.webmetic.de/docs"; this.properties = [ { displayName: "API Key", name: "apiKey", type: "string", typeOptions: { password: true, }, default: "", required: true, description: "Your Webmetic API key", }, ]; this.authenticate = { type: "generic", properties: { headers: { Authorization: "={{$credentials.apiKey}}", }, }, }; this.test = { request: { baseURL: "https://hub.webmetic.de", url: "/new-visits", method: "GET", qs: { domain: "example.com", from_date: "-1 days", to_date: "now", }, }, }; } } exports.WebmeticApi = WebmeticApi; //# sourceMappingURL=WebmeticApi.credentials.js.map