1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "startUrls": [
12 {
13 "url": "https://www.tender.ng/"
14 },
15 {
16 "url": "https://etenders.com.ng/"
17 },
18 {
19 "url": "https://www.globaltenders.com/nigeria-tenders"
20 },
21 {
22 "url": "https://bpp.gov.ng"
23 },
24 {
25 "url": "https://nocopo.bpp.gov.ng/"
26 },
27 {
28 "url": "https://lagosppa.gov.ng/"
29 },
30 {
31 "url": "https://www.nigeriatenders.com/"
32 },
33 {
34 "url": "https://procurement.ngojobsite.com/"
35 },
36 {
37 "url": "https://publicprocurement.org/"
38 },
39 {
40 "url": "https://ebid.com.ng/"
41 }
42 ],
43 "smeProfile": {
44 "industry": "Construction",
45 "location": "Lagos",
46 "capacity": 20000000,
47 "certifications": [
48 "CAC",
49 "Tax Clearance"
50 ],
51 "services": [
52 "Building and Construction Services",
53 "Renovation and Maintenance",
54 "Sale and Installation of Construction Aluminum roofing and ceiling materials"
55 ],
56 "experience": [
57 "Construction Projects",
58 "Government Contracts"
59 ]
60 }
61};
62
63
64const run = await client.actor("preciousvictory/bidwisely-procurement-matcher").call(input);
65
66
67console.log('Results from dataset');
68console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
69const { items } = await client.dataset(run.defaultDatasetId).listItems();
70items.forEach((item) => {
71 console.dir(item);
72});
73
74