@n8n/n8n-nodes-langchain
Version:

42 lines • 1.26 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SerpApi = void 0;
class SerpApi {
constructor() {
this.name = 'serpApi';
this.displayName = 'SerpAPI';
this.documentationUrl = 'serp';
this.properties = [
{
displayName: 'This node is deprecated and will not be updated in the future. Please use the official verified community node instead.',
name: 'oldVersionNotice',
type: 'notice',
default: '',
},
{
displayName: 'API Key',
name: 'apiKey',
type: 'string',
typeOptions: { password: true },
required: true,
default: '',
},
];
this.authenticate = {
type: 'generic',
properties: {
qs: {
api_key: '={{$credentials.apiKey}}',
},
},
};
this.test = {
request: {
baseURL: 'https://serpapi.com',
url: '/account.json ',
},
};
}
}
exports.SerpApi = SerpApi;
//# sourceMappingURL=SerpApi.credentials.js.map