1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "targets": [
9 {
10 "id": "sec-rss",
11 "name": "SEC Press Releases",
12 "jurisdiction": "US-Federal",
13 "regulator": "SEC",
14 "domain": "securities",
15 "criticality": "high",
16 "owner": "Legal / Compliance",
17 "tags": [
18 "securities",
19 "federal",
20 ],
21 "feedUrl": "https://www.sec.gov/news/pressreleases.rss",
22 },
23 {
24 "id": "fda-recalls",
25 "name": "FDA Recalls & Safety",
26 "jurisdiction": "US-Federal",
27 "regulator": "FDA",
28 "domain": "health",
29 "criticality": "high",
30 "owner": "Regulatory Affairs",
31 "tags": [
32 "health",
33 "safety",
34 ],
35 "feedUrl": "https://www.fda.gov/about-fda/contact-fda/stay-informed/rss-feeds/recalls/rss.xml",
36 },
37 ] }
38
39
40run = client.actor("taroyamada/regulatory-change-monitor").call(run_input=run_input)
41
42
43print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
44for item in client.dataset(run["defaultDatasetId"]).iterate_items():
45 print(item)
46
47