1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "feeds": [
9 {
10 "id": "bank-overdraft",
11 "name": "Bank overdraft complaints",
12 "products": "Checking or savings account",
13 "issues": "Problem with overdraft",
14 "keywords": "overdraft,fee",
15 },
16 {
17 "id": "credit-reporting-disputes",
18 "name": "Credit reporting disputes",
19 "products": "Credit reporting or other personal consumer reports",
20 "keywords": "dispute,incorrect information",
21 },
22 {
23 "id": "fintech-company-watch",
24 "name": "Company complaint watch",
25 "companies": "Example Financial Inc.",
26 "keywords": "account closed,transfer",
27 },
28 ] }
29
30
31run = client.actor("taroyamada/cfpb-consumer-complaint-trend-watch-scraper").call(run_input=run_input)
32
33
34print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
35for item in client.dataset(run["defaultDatasetId"]).iterate_items():
36 print(item)
37
38