1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "schemaVersion": "1.0",
10 "asOf": "2026-08-05T09:00:00Z",
11 "rows": [
12 {
13 "evidenceId": "nike-offer-001",
14 "eventType": "offer",
15 "effectiveAt": "2026-08-04T12:00:00Z",
16 "observedAt": "2026-08-04T12:30:00Z",
17 "sourceUrl": "https://www.nike.com/news/example",
18 "fact": "A submitted source reports a US offer change.",
19 },
20 {
21 "evidenceId": "nike-award-001",
22 "eventType": "award",
23 "effectiveAt": "2026-08-04T12:00:00Z",
24 "observedAt": "2026-08-04T13:00:00Z",
25 "sourceUrl": "https://www.usaspending.gov/award/example",
26 "fact": "A submitted source lists an award associated with the brand.",
27 },
28 ],
29}
30
31
32run = client.actor("zinin/us-brand-evidence-chronology-builder").call(run_input=run_input)
33
34
35print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
36for item in client.dataset(run.default_dataset_id).iterate_items():
37 print(item)
38
39