1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "companies": [
9 {
10 "name": "Bright Smile Dental Clinic",
11 "description": "A friendly dental clinic offering checkups, cleanings, and orthodontist services for the whole family.",
12 "tags": [
13 "dental",
14 "healthcare",
15 ],
16 },
17 {
18 "name": "DentaFlow",
19 "description": "SaaS practice management software platform for dentists and dental clinics, built as a cloud app with an API.",
20 "tags": [
21 "software",
22 "saas",
23 ],
24 },
25 {
26 "name": "Joe's Diner",
27 "description": "A full-service, sit-down restaurant serving breakfast, lunch and dinner off a bistro menu.",
28 "tags": ["restaurant"],
29 },
30 ] }
31
32
33run = client.actor("that_red_bird/industry-classifier").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