1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "companyProfile": "IT consultancy in Basel, 25 people. We build and run cloud data platforms (Azure, AWS) and analytics dashboards for public and healthcare organisations. ISO 27001 certified. Work in German, French and English. Typical projects EUR 100k to 1.5M.",
12 "keywords": [
13 "data platform",
14 "cloud",
15 "analytics"
16 ],
17 "countries": [
18 "DEU",
19 "AUT",
20 "FRA"
21 ],
22 "maxTenders": 5
23};
24
25
26const run = await client.actor("fiveyears/eu-tender-fit-scorer").call(input);
27
28
29console.log('Results from dataset');
30console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
31const { items } = await client.dataset(run.defaultDatasetId).listItems();
32items.forEach((item) => {
33 console.dir(item);
34});
35
36