UNPKG

n8n-nodes-finnhub

Version:
34 lines 965 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Finnhub = void 0; class Finnhub { constructor() { this.name = 'finnhub'; this.displayName = 'Finnhub.io API'; this.documentationUrl = 'https://finnhub.io/docs/api'; this.properties = [ { displayName: 'Token', name: 'token', type: 'string', default: '', }, ]; this.authenticate = { type: 'generic', properties: { headers: { 'X-Finnhub-Token': '={{$credentials.token}}', }, }, }; this.test = { request: { baseURL: 'https://finnhub.io/api/v1', url: '/', }, }; } } exports.Finnhub = Finnhub; //# sourceMappingURL=Finnhub.credentials.js.map