1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "tickers": [
10 "AAPL",
11 "MSFT",
12 "GOOGL",
13 ],
14 "keywords": [
15 "cybersecurity",
16 "climate change",
17 "artificial intelligence",
18 ],
19 "formTypes": [
20 "10-K",
21 "10-Q",
22 "8-K",
23 ],
24 "webhookUrl": "",
25}
26
27
28run = client.actor("second_coming/sec-filings-monitor").call(run_input=run_input)
29
30
31print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
32for item in client.dataset(run["defaultDatasetId"]).iterate_items():
33 print(item)
34
35