1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "companyProfile": "We are an IT hardware supplier based in Islamabad and Lahore. We supply desktop computers, laptops, servers, networking equipment (switches, routers, firewalls), UPS and power backup, printers, scanners and CCTV systems to government departments, universities and hospitals. We are registered with FBR and SECP, hold authorised-dealer status for major brands, and have delivered similar supply contracts for provincial and federal organisations."
12};
13
14
15const run = await client.actor("akramkhan/pakistan-tender-matcher").call(input);
16
17
18console.log('Results from dataset');
19console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
20const { items } = await client.dataset(run.defaultDatasetId).listItems();
21items.forEach((item) => {
22 console.dir(item);
23});
24
25