1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "sp_contact": "Share your email here...",
10 "searchMode": "bySearch",
11 "corporateNumbers": [],
12 "nameQuery": "",
13 "corporateType": "",
14 "prefectureCode": "13",
15 "capitalMin": 0,
16 "capitalMax": 0,
17 "employeeMin": 0,
18 "employeeMax": 0,
19 "existingOnly": True,
20 "includeCertifications": False,
21 "includeProcurement": False,
22 "includeSubsidies": False,
23 "includePatents": False,
24 "includeCommendations": False,
25 "apiToken": "",
26 "maxItems": 50,
27}
28
29
30run = client.actor("jungle_synthesizer/gbizinfo-japan-company-scraper").call(run_input=run_input)
31
32
33print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
34for item in client.dataset(run.default_dataset_id).iterate_items():
35 print(item)
36
37