1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "requestId": "hira_location_demo_01",
10 "targetRegion": {
11 "province": "서울특별시",
12 "district": "강남구",
13 },
14 "peerRegions": [
15 {
16 "province": "서울특별시",
17 "district": "강남구",
18 },
19 {
20 "province": "서울특별시",
21 "district": "서초구",
22 },
23 {
24 "province": "서울특별시",
25 "district": "송파구",
26 },
27 ],
28 "providerTypes": ["의원"],
29 "specialties": ["내과"],
30}
31
32
33run = client.actor("zinin/hira-specialty-location-competition-benchmark").call(run_input=run_input)
34
35
36print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
37for item in client.dataset(run.default_dataset_id).iterate_items():
38 print(item)
39
40