@bedrijfsdatanl/n8n-nodes-bedrijfsdata
Version:
n8n node for Bedrijfsdata.nl API - Search and retrieve Dutch company information
44 lines • 1.28 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.bedrijfsdataApi = void 0;
class bedrijfsdataApi {
constructor() {
this.icon = 'file:logo.svg';
this.name = 'bedrijfsdataApi';
this.displayName = 'Bedrijfsdata API';
this.documentationUrl = 'https://docs.bedrijfsdata.nl/';
this.properties = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string',
typeOptions: {
password: true,
},
default: '',
},
];
this.authenticate = {
type: 'generic',
properties: {
qs: {
'api_key': '={{$credentials.apiKey}}'
},
},
};
this.test = {
request: {
baseURL: 'https://api.bedrijfsdata.nl/v1.2',
method: 'GET',
url: '/companies',
qs: {
country: 'nl',
rows: 0,
front: 30,
}
},
};
}
}
exports.bedrijfsdataApi = bedrijfsdataApi;
//# sourceMappingURL=bedrijfsdataApi.credentials.js.map