1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "employeeId": "alice",
10 "itemName": "Wireless mouse",
11 "productUrl": "https://example.com/mouse",
12 "amount": 50,
13 "description": "For remote work setup",
14}
15
16
17run = client.actor("petr.volf/employee-budget-record-purchase").call(run_input=run_input)
18
19
20print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
21for item in client.dataset(run["defaultDatasetId"]).iterate_items():
22 print(item)
23
24