1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "companyProfile": {
10 "name": "Cascadia Civil Engineering",
11 "description": "Civil engineering firm with 40 staff, NAICS 541330, SBA small business, serving the Pacific Northwest; past EPA and USDA rural water and wastewater grants.",
12 "capabilities": [
13 "water infrastructure design",
14 "wastewater treatment",
15 "stormwater management",
16 "rural water systems",
17 "environmental engineering",
18 ],
19 "naicsCodes": [
20 "541330",
21 "237110",
22 ],
23 "setAsides": ["SBA"],
24 "organizationType": "small business",
25 "businessSize": "small",
26 "locations": [
27 "WA",
28 "OR",
29 "ID",
30 ],
31 "keywords": [
32 "water",
33 "wastewater",
34 "infrastructure",
35 "drinking water",
36 "rural",
37 ],
38 "pastAwards": [
39 "EPA Water Infrastructure Improvements for the Nation",
40 "USDA Rural Development Water and Waste Disposal",
41 ],
42 "budgetRange": {
43 "min": 50000,
44 "max": 5000000,
45 },
46 },
47 "searchTerms": ["water infrastructure"],
48 "sources": ["grantsGov"],
49 "oppStatuses": ["posted"],
50 "postedWithinDays": 30,
51 "maxOpportunities": 25,
52 "scorer": "rules",
53}
54
55
56run = client.actor("owlabee/gov-opportunity-fit-scorer").call(run_input=run_input)
57
58
59print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
60for item in client.dataset(run.default_dataset_id).iterate_items():
61 print(item)
62
63