1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "url": "https://www.homedepot.com/p/Gorilla-Ladders-2-Step-Compact-Steel-Step-Stool-225-lbs-Load-Capacity-Type-II-Duty-Rating-8ft-Reach-Height-GLS-2CS-2/310432817",
10 "zipcode": "12345",
11}
12
13
14run = client.actor("scraped/home-depot-store-inventory-lookup").call(run_input=run_input)
15
16
17print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
18for item in client.dataset(run["defaultDatasetId"]).iterate_items():
19 print(item)
20
21