n8n-nodes-fetchserp
Version:
FetchSERP community node for n8n. Provides SEO, SERP, scraping, and domain intelligence operations via the FetchSERP API.
45 lines • 1.41 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.FetchSerpApi = void 0;
class FetchSerpApi {
constructor() {
this.name = 'fetchserpApi';
this.displayName = 'FetchSERP API';
this.documentationUrl = 'https://www.fetchserp.com/docs';
this.properties = [
{
displayName: 'API Token',
name: 'token',
type: 'string',
typeOptions: {
password: true,
},
default: '',
description: 'Your FetchSERP API token',
},
{
displayName: 'API Base URL',
name: 'baseUrl',
type: 'string',
default: 'https://www.fetchserp.com',
description: 'Change this only if you use a custom FetchSERP domain',
},
];
this.authenticate = {
type: 'generic',
properties: {
headers: {
Authorization: '={{"Bearer " + $credentials.token}}',
},
},
};
this.test = {
request: {
baseURL: '={{$credentials.baseUrl}}',
url: '/api/v1/user',
},
};
}
}
exports.FetchSerpApi = FetchSerpApi;
//# sourceMappingURL=FetchSerpApi.credentials.js.map