1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "mode": "demo",
10 "expected": {
11 "schemaVersion": 1,
12 "expected": [
13 {
14 "collectionId": "580e63fc8c9a982ac9b8b745",
15 "itemId": "62b720ef280c7a7a3be8cabe",
16 "cmsLocaleId": "653ad57de882f528b32e810e",
17 "required": True,
18 },
19 {
20 "collectionId": "580e63fc8c9a982ac9b8b745",
21 "itemId": "62b720ef280c7a7a3be8cabe",
22 "cmsLocaleId": "653fd9af6a07fc9cfd7a5e5d",
23 "required": True,
24 },
25 {
26 "collectionId": "580e63fc8c9a982ac9b8b745",
27 "itemId": "62c880ef281c7b7b4cf9dabc",
28 "cmsLocaleId": "653fd9af6a07fc9cfd7a5e5d",
29 "required": True,
30 },
31 {
32 "collectionId": "580e63fc8c9a982ac9b8b745",
33 "itemId": "000000000000000000000003",
34 "cmsLocaleId": "653fd9af6a07fc9cfd7a5e5d",
35 "required": False,
36 },
37 {
38 "collectionId": "580e63fc8c9a982ac9b8b745",
39 "itemId": "62b720ef280c7a7a3be8cabe",
40 "cmsLocaleId": "654112a3a525b2739d97664f",
41 "required": True,
42 },
43 ],
44 },
45 "captures": {
46 "schemaVersion": 1,
47 "snapshots": [
48 {
49 "collectionId": "580e63fc8c9a982ac9b8b745",
50 "cmsLocaleId": "653ad57de882f528b32e810e",
51 "format": "json",
52 "complete": True,
53 "unfiltered": True,
54 "pages": [{
55 "items": [{
56 "id": "62b720ef280c7a7a3be8cabe",
57 "cmsLocaleId": "653ad57de882f528b32e810e",
58 "isDraft": False,
59 "isArchived": False,
60 "lastPublished": "2026-10-01T00:00:00Z",
61 }],
62 "pagination": {
63 "limit": 100,
64 "offset": 0,
65 "total": 1,
66 },
67 }],
68 },
69 {
70 "collectionId": "580e63fc8c9a982ac9b8b745",
71 "cmsLocaleId": "653fd9af6a07fc9cfd7a5e5d",
72 "format": "json",
73 "complete": True,
74 "unfiltered": True,
75 "pages": [{
76 "items": [{
77 "id": "62c880ef281c7b7b4cf9dabc",
78 "cmsLocaleId": "653fd9af6a07fc9cfd7a5e5d",
79 "isDraft": True,
80 "isArchived": False,
81 "lastPublished": None,
82 }],
83 "pagination": {
84 "limit": 100,
85 "offset": 0,
86 "total": 1,
87 },
88 }],
89 },
90 ],
91 },
92}
93
94
95run = client.actor("atesen-software/webflow-cms-locale-inventory-check").call(run_input=run_input)
96
97
98print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
99for item in client.dataset(run.default_dataset_id).iterate_items():
100 print(item)
101
102