1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "keywords": "engineer",
12 "city": "Warszawa",
13 "maxItems": 5,
14 "cityRadius": 25,
15 "remoteWorkOptions": [
16 "remote",
17 "hybrid"
18 ],
19 "employmentTypes": [
20 "b2b",
21 "permanent"
22 ],
23 "categories": [
24 "java",
25 "data",
26 "python",
27 "devops"
28 ],
29 "experienceLevels": [
30 "mid",
31 "senior"
32 ],
33 "titles": [
34 "engineer",
35 "developer"
36 ],
37 "skills": [
38 "Java",
39 "Python"
40 ],
41 "companyNames": [
42 "SCALO",
43 "DCG",
44 "Link Group",
45 "Ideamotive",
46 "Accenture",
47 "Capgemini Polska",
48 "InPost",
49 "emagine Polska"
50 ],
51 "publishedSinceDays": 30,
52 "withSalary": true,
53 "minSalary": 5000,
54 "includeDetails": false,
55 "sortBy": "publishedAt",
56 "orderBy": "descending"
57};
58
59
60const run = await client.actor("datascraperes/justjoin-it-jobs-scraper").call(input);
61
62
63console.log('Results from dataset');
64console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
65const { items } = await client.dataset(run.defaultDatasetId).listItems();
66items.forEach((item) => {
67 console.dir(item);
68});
69
70