1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "rows": [
12 {
13 "jobId": "4441060956",
14 "jobUrl": "https://www.linkedin.com/jobs/view/account-executive-travel-at-nike-communications-inc-4441060956",
15 "jobTitle": "Account Executive - Travel",
16 "companyName": "Nike Communications, Inc.",
17 "companyUrl": "https://www.linkedin.com/company/nike-communications",
18 "location": "New York, NY"
19 },
20 {
21 "jobId": "4440198123",
22 "jobUrl": "https://www.linkedin.com/jobs/view/national-account-manager-at-sprout-living-4440198123",
23 "jobTitle": "National Account Manager",
24 "companyName": "Sprout Living",
25 "companyUrl": "https://www.linkedin.com/company/sprout-living",
26 "location": "United States"
27 }
28 ]
29};
30
31
32const run = await client.actor("kamerozkan/linkedin-job-apply-link-verifier").call(input);
33
34
35console.log('Results from dataset');
36console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
37const { items } = await client.dataset(run.defaultDatasetId).listItems();
38items.forEach((item) => {
39 console.dir(item);
40});
41
42