The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn mode
# Set API token
API_TOKEN=<YOUR_API_TOKEN>
# Prepare Actor input
cat > input.json <<'EOF'
{
"options": "/* global t */\n// t variable definition because of type validation ... \n [{\n schema: {\n url: t.string.url,\n date: t.string.date,\n messages: t.array,\n },\n}, \n{\n filter: 'eshop', // you can also use IDs definition as: Ids: [\"id\", \"id\"]\n minItemCount: 100, \n maxItemCount: 1000\n}]"
}
EOF
# Run the Actor
curl "https://api.apify.com/v2/acts/apify~monitoring-checker-schema/runs?token=$API_TOKEN" \
-X POST \
-d @input.json \
-H 'Content-Type: application/json'
Developer
Maintained by Apify
Actor stats
- 29 users
- 225.2k runs
- Modified about 1 year ago
Categories