1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "claims": [
9 {
10 "id": "homepage-status",
11 "type": "url",
12 "url": "https://example.com/",
13 "expectedStatus": 200,
14 },
15 {
16 "id": "inline-hello",
17 "type": "file",
18 "contentBase64": "aGVsbG8K",
19 "expectedSha256": "5891b5b522d5df086d0ff0b110fbd9d21bb4fc7163af34d08286a2e846f6be03",
20 },
21 {
22 "id": "laptop-file",
23 "type": "file",
24 "path": "C:/agent/out/report.md",
25 "expectedSha256": "5891b5b522d5df086d0ff0b110fbd9d21bb4fc7163af34d08286a2e846f6be03",
26 },
27 ] }
28
29
30run = client.actor("honestagentkit/agent-receipt-verifier").call(run_input=run_input)
31
32
33print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
34for item in client.dataset(run.default_dataset_id).iterate_items():
35 print(item)
36
37