1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "greenhouseCompanies": [
12 "stripe:Stripe",
13 "anthropic:Anthropic",
14 "notion:Notion",
15 "openai:OpenAI",
16 "airbnb:Airbnb"
17 ],
18 "leverCompanies": [
19 "spotify:Spotify"
20 ],
21 "ashbyCompanies": [
22 "ramp:Ramp"
23 ],
24 "searchKeywords": [
25 "software engineer",
26 "machine learning",
27 "data scientist",
28 "backend",
29 "full stack"
30 ],
31 "mySkills": [
32 "python",
33 "sql",
34 "machine learning",
35 "javascript",
36 "react"
37 ],
38 "antiPatterns": [],
39 "preferredTitles": [
40 "software engineer",
41 "senior engineer",
42 "staff engineer"
43 ],
44 "yearsOfExperience": 5,
45 "maxDaysOld": 30,
46 "minScore": 0,
47 "maxResults": 200
48};
49
50
51const run = await client.actor("goblinmode2700/ats-company-watchlist").call(input);
52
53
54console.log('Results from dataset');
55console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
56const { items } = await client.dataset(run.defaultDatasetId).listItems();
57items.forEach((item) => {
58 console.dir(item);
59});
60
61