1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "brand": "Example Brand",
10 "website": "https://example.com",
11 "keywords": [
12 "best alternatives to X",
13 "what is the best Y tool",
14 "how to choose Z",
15 ],
16 "competitors": [
17 "Competitor A",
18 "Competitor B",
19 ],
20}
21
22
23run = client.actor("upstanding_biobot/ai-citation-monitor").call(run_input=run_input)
24
25
26print("๐พ Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
27for item in client.dataset(run["defaultDatasetId"]).iterate_items():
28 print(item)
29
30