1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "sources": [
9 {
10 "type": "serp",
11 "title": "best crm software",
12 "content": "Competitor ranks #3, we rank #9 on this keyword.",
13 },
14 {
15 "type": "icerik",
16 "title": "Pricing page",
17 "content": "Competitor shows transparent pricing but has no demo video.",
18 },
19 {
20 "type": "sosyal",
21 "content": "Instagram 40K followers, weekly engagement is declining.",
22 },
23 ] }
24
25
26run = client.actor("enezli/ai-competitor-intelligence").call(run_input=run_input)
27
28
29print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
30for item in client.dataset(run["defaultDatasetId"]).iterate_items():
31 print(item)
32
33