1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "mode": "search",
10 "locations": ["Portland, OR"],
11 "services": [
12 "furniture assembly",
13 "tv mounting",
14 ],
15 "profileInputs": ["1883135"],
16 "maxItems": 20,
17 "includeProfiles": True,
18 "includeReviews": False,
19 "maxReviewsPerTasker": 10,
20 "includeCityReviews": False,
21 "incrementalMode": False,
22 "emitUnchanged": False,
23 "emitExpired": False,
24 "maxNotifyListings": 50,
25 "proxyConfiguration": { "useApifyProxy": True },
26}
27
28
29run = client.actor("abotapi/taskrabbit-tasker-scraper").call(run_input=run_input)
30
31
32print(f"๐พ Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
33for item in client.dataset(run.default_dataset_id).iterate_items():
34 print(item)
35
36