1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "searchKeywords": [
10 "source-backed signal",
11 "buyer fit",
12 ],
13 "taskIntent": "buyer-ready-product-run",
14 "sourceMode": "startUrls",
15 "outputMode": "buyer-ready-records",
16 "startUrls": [
17 { "url": "https://patents.google.com/patent/US11819663B2" },
18 { "url": "https://patents.google.com/patent/US11285329B2" },
19 { "url": "https://patents.google.com/patent/US11135376B2" },
20 ],
21 "requestTimeoutSecs": 30,
22 "maxRequestRetries": 2,
23 "sinceLastRun": False,
24 "deltaMode": True,
25}
26
27
28run = client.actor("zentrafoundry/uspto-trademark-patent-watcher").call(run_input=run_input)
29
30
31print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
32for item in client.dataset(run.default_dataset_id).iterate_items():
33 print(item)
34
35