1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "queries": [
10 {
11 "name": "BANK OF KUNLUN CO LTD",
12 "country": "CN",
13 "identifier": "CKLBCNBJ",
14 "reference": "vendor-001",
15 },
16 {
17 "name": "Acme Bicycle Shop",
18 "country": "US",
19 "reference": "vendor-002",
20 },
21 ],
22 "threshold": 72,
23 "matchThreshold": 90,
24 "maxMatches": 5,
25}
26
27
28run = client.actor("automation-lab/us-denied-party-screening-api").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