1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "options": """/* global t */
9// t variable definition because of type validation ...
10 [{
11 schema: {
12 url: t.string.url,
13 date: t.string.date,
14 messages: t.array,
15 },
16},
17{
18 filter: 'eshop', // you can also use IDs definition as: Ids: [\"id\", \"id\"]
19 minItemCount: 100,
20 maxItemCount: 1000
21}]""" }
22
23
24run = client.actor("apify/monitoring-checker-schema").call(run_input=run_input)
25
26
27print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
28for item in client.dataset(run["defaultDatasetId"]).iterate_items():
29 print(item)
30
31