UNPKG

n8n-nodes-dumplingai

Version:
41 lines 1.27 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DumplingAiApi = void 0; class DumplingAiApi { constructor() { this.name = 'dumplingAiApi'; this.displayName = 'Dumpling AI API'; this.documentationUrl = 'https://docs.dumplingai.com/api-reference/introduction'; this.properties = [ { displayName: 'API Key', name: 'apiKey', type: 'string', default: '', typeOptions: { password: true, }, }, ]; this.authenticate = { type: 'generic', properties: { headers: { Authorization: '=Bearer {{$credentials.apiKey}}', }, }, }; this.test = { request: { baseURL: 'https://app.dumplingai.com/api/v1', url: '/get-youtube-transcript', method: 'POST', body: { videoUrl: 'https://www.youtube.com/watch?v=dQw4w9WgXcQ', }, }, }; } } exports.DumplingAiApi = DumplingAiApi; //# sourceMappingURL=DumplingAiApi.credentials.js.map