1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "payload": {
9 "plan": [
10 {
11 "appId": "12345678",
12 "storefront": "US",
13 "expectedVersion": "2.4.0",
14 },
15 {
16 "appId": "12345678",
17 "storefront": "NL",
18 "expectedVersion": None,
19 },
20 ],
21 "observations": [
22 {
23 "appId": "12345678",
24 "storefront": "US",
25 "state": "observed",
26 "version": "2.4.0",
27 },
28 {
29 "appId": "12345678",
30 "storefront": "NL",
31 "state": "not_returned",
32 },
33 ],
34 } }
35
36
37run = client.actor("manzaritech/ios-release-checker").call(run_input=run_input)
38
39
40print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
41for item in client.dataset(run.default_dataset_id).iterate_items():
42 print(item)
43
44