UNPKG

n8n-nodes-supadata

Version:

Tool for extracting content from YouTube videos and web pages

39 lines 1.19 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SupadataApi = void 0; class SupadataApi { constructor() { this.name = 'supadataApi'; this.displayName = 'Supadata API'; this.documentationUrl = 'https://supadata.ai/documentation/getting-started'; this.properties = [ { displayName: 'API Key', name: 'apiKey', type: 'string', typeOptions: { password: true }, default: '', placeholder: 'Enter your Supadata API Key', required: true, }, ]; this.authenticate = { type: 'generic', properties: { headers: { 'x-api-key': '={{$credentials.apiKey}}', }, }, }; this.test = { request: { baseURL: 'https://api.supadata.ai', url: '/v1/health', method: 'GET', }, }; } } exports.SupadataApi = SupadataApi; module.exports = { SupadataApi }; //# sourceMappingURL=SupadataApi.credentials.js.map