1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "mode": "search",
12 "searchQueries": [
13 "developpeur"
14 ],
15 "region": "",
16 "city": "",
17 "sectors": [],
18 "jobFunctions": [],
19 "contractTypes": [],
20 "remoteWork": [],
21 "employmentType": [],
22 "experienceLevels": [],
23 "companyTypes": [],
24 "csrLabels": [],
25 "minSalary": 0,
26 "radiusKm": "20",
27 "postedWithin": "all",
28 "sortBy": "relevance",
29 "salaryOnly": false,
30 "superRecruiterOnly": false,
31 "exactMatchesOnly": false,
32 "includeDetails": false,
33 "includeCompanyProfile": false,
34 "incrementalMode": false,
35 "stateKey": "",
36 "startUrls": [],
37 "maxItems": 3
38};
39
40
41const run = await client.actor("vexaloom-labs/hellowork-france-job-listings-and-salary-filter").call(input);
42
43
44console.log('Results from dataset');
45console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
46const { items } = await client.dataset(run.defaultDatasetId).listItems();
47items.forEach((item) => {
48 console.dir(item);
49});
50
51