Merge pull request #399 from apify/main

feat: Add document loader for Apify Website Content Crawler
This commit is contained in:
Henry Heng
2023-08-09 13:04:29 +01:00
committed by GitHub
4 changed files with 167 additions and 0 deletions
@@ -0,0 +1,26 @@
import { INodeParams, INodeCredential } from '../src/Interface'
class ApifyApiCredential implements INodeCredential {
label: string
name: string
version: number
description: string
inputs: INodeParams[]
constructor() {
this.label = 'Apify API'
this.name = 'apifyApi'
this.version = 1.0
this.description =
'You can find the Apify API token on your <a target="_blank" href="https://console.apify.com/account#/integrations">Apify account</a> page.'
this.inputs = [
{
label: 'Apify API',
name: 'apifyApiToken',
type: 'password'
}
]
}
}
module.exports = { credClass: ApifyApiCredential }