You can use it to connect data from Apify platform into Keboola platform.
- Apify/Keboola integration tutorial
- Apify component on Keboola page on Keboola developer platform
- Keboola documentation for developers
- Keboole API reference
If you are interested in adding a new feature or fixing a bug in the integration, feel free to open a pull request.
Before you start developing this integration, you will need your Apify API token and user ID. You can find the token and user ID on the Integrations page of your Apify account.
The run of integration depends on configuration. You can specify which action you want to run and its parameters in the configuration file config.json
.
On the Keboola platform, this config will be generated for each run based on user input.
Base configuration:
{
"action": "run",
"parameters": {
"actionType": "runActor",
"userId": "myUserId",
"#token": "myToken",
"actorId": "my-user-name/actor",
"input": {
"pages": 1
},
"memory": "512",
"build": "latest"
}
}
With this configuration, you will run the actor with specific options. This folder contains all possible examples of configuration.
- Install dependencies
npm i
- Create empty data dir for input and output of action
mkdir -p ./.temp/data
- In data dir create
config.json
file and fill with an action you want to runcp ./test/configs/actor_run.json ./.temp/data/config.json
- Run the action using
npm run dev
There are integrations tests, which check each action if it works with the Apify platform as expected. You can run these tests with your Apify token and user ID. You can find the token and user ID on the Integrations page of your Apify account.
- Install dependencies
npm i
- Run integration tests
DATA_DIR=./data APIFY_TEST_TOKEN=<apify toke> npm run test
Only Apify team members can deploy new versions, and there is a document in Notion on how to do it.