1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "companies": [
12 "Impossible Foods",
13 "Beyond Meat",
14 "Oatly",
15 "Ripple Foods",
16 "Allbirds",
17 "Warby Parker",
18 "Glossier",
19 "Casper",
20 "Peloton",
21 "Calm",
22 "Duolingo",
23 "Coursera",
24 "Udacity",
25 "Robinhood",
26 "Chime",
27 "Plaid",
28 "Stripe",
29 "Affirm",
30 "Klarna",
31 "Notion",
32 "Airtable",
33 "Asana",
34 "Monday.com",
35 "Discord",
36 "Canva",
37 "Figma",
38 "Webflow",
39 "GitLab",
40 "HashiCorp",
41 "Databricks"
42 ]
43};
44
45
46const run = await client.actor("dadhalfdev/linkedin-company-about-scraper").call(input);
47
48
49console.log('Results from dataset');
50console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
51const { items } = await client.dataset(run.defaultDatasetId).listItems();
52items.forEach((item) => {
53 console.dir(item);
54});
55
56