n8n-nodes-base
Version:
Base nodes of n8n
33 lines • 871 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.BrandfetchApi = void 0;
class BrandfetchApi {
name = 'brandfetchApi';
displayName = 'Brandfetch API';
documentationUrl = 'brandfetch';
properties = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string',
typeOptions: { password: true },
default: '',
},
];
authenticate = {
type: 'generic',
properties: {
headers: {
Authorization: '=Bearer {{$credentials.apiKey}}',
},
},
};
test = {
request: {
baseURL: 'https://api.brandfetch.io',
url: '/v2/brands/brandfetch.com',
},
};
}
exports.BrandfetchApi = BrandfetchApi;
//# sourceMappingURL=BrandfetchApi.credentials.js.map