n8n-nodes-ocean
Version:
n8n community node for Ocean.io API integration - lookalike company and people discovery
29 lines (28 loc) • 831 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.OceanApi = void 0;
class OceanApi {
name = 'oceanApi';
displayName = 'Ocean.io API';
documentationUrl = 'https://docs.ocean.io/getting-started/authentication';
properties = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string',
typeOptions: { password: true },
default: '',
required: true,
description: 'Your Ocean.io API key. You can find this in your Ocean.io dashboard under Settings > API Keys.',
},
];
authenticate = {
type: 'generic',
properties: {
headers: {
'X-Api-Token': '={{$credentials.apiKey}}',
},
},
};
}
exports.OceanApi = OceanApi;