1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "vendors": [{
9 "id": "stripe",
10 "name": "Stripe",
11 "criticality": "high",
12 "owner": "Procurement",
13 "tags": [
14 "payments",
15 "renewal-q3",
16 "strategic vendor",
17 ],
18 "urlPacks": {
19 "pricing": [{
20 "id": "stripe-pricing",
21 "name": "Stripe Pricing",
22 "url": "https://stripe.com/pricing",
23 "includePatterns": [
24 "pricing",
25 "annual",
26 "enterprise",
27 "billing",
28 ],
29 "excludePatterns": [
30 "cookie",
31 "sign in",
32 ],
33 }],
34 "terms": [{
35 "id": "stripe-terms",
36 "name": "Stripe Services Agreement",
37 "url": "https://stripe.com/legal/ssa",
38 "includePatterns": [
39 "fees",
40 "renewal",
41 "termination",
42 "liability",
43 ],
44 "excludePatterns": [
45 "cookie",
46 "sign in",
47 ],
48 }],
49 },
50 }] }
51
52
53run = client.actor("taroyamada/vendor-change-monitor").call(run_input=run_input)
54
55
56print("πΎ Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
57for item in client.dataset(run["defaultDatasetId"]).iterate_items():
58 print(item)
59
60