1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "searchKeywords": [
10 "source-backed signal",
11 "buyer fit",
12 ],
13 "taskIntent": "buyer-ready-product-run",
14 "sourceMode": "startUrls",
15 "outputMode": "buyer-ready-records",
16 "startUrls": [
17 { "url": "https://ted.europa.eu/en/search/list?scope=LATEST&onlyLatestVersions=true" },
18 { "url": "https://www.grants.gov/search-grants" },
19 ],
20 "requestTimeoutSecs": 30,
21 "maxRequestRetries": 2,
22 "sinceLastRun": False,
23 "deltaMode": True,
24}
25
26
27run = client.actor("zentrafoundry/govcon-grants-bid-intelligence").call(run_input=run_input)
28
29
30print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
31for item in client.dataset(run.default_dataset_id).iterate_items():
32 print(item)
33
34