1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "targets": [
9 {
10 "id": "nextjs",
11 "name": "Next.js",
12 "repo": "vercel/next.js",
13 "criticality": "high",
14 "owner": "Frontend Platform",
15 "tags": [
16 "framework",
17 "docs",
18 ],
19 "releaseNotesUrl": "https://github.com/vercel/next.js/releases.atom",
20 "migrationGuideUrl": "https://nextjs.org/docs/app/guides/upgrading/version-16",
21 "docsPages": [{
22 "id": "nextjs-caching",
23 "name": "Caching Guide",
24 "url": "https://nextjs.org/docs/app/guides/caching",
25 }],
26 },
27 {
28 "id": "crawlee-docs",
29 "name": "Crawlee",
30 "repo": "apify/crawlee",
31 "criticality": "standard",
32 "owner": "Automation",
33 "tags": [
34 "crawler",
35 "sdk",
36 ],
37 "changelogUrl": "https://raw.githubusercontent.com/apify/crawlee/master/CHANGELOG.md",
38 "docsPages": [{
39 "id": "crawlee-migrations",
40 "name": "Migration Guide",
41 "url": "https://crawlee.dev/js/docs/upgrading/upgrading-to-v3",
42 }],
43 },
44 ] }
45
46
47run = client.actor("taroyamada/docs-changelog-drift-monitor").call(run_input=run_input)
48
49
50print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
51for item in client.dataset(run["defaultDatasetId"]).iterate_items():
52 print(item)
53
54