1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "entities": "[{\"name\":\"Gazprom\",\"country\":\"RU\"},{\"name\":\"Sberbank\"}]",
10 "names": [
11 "Gazprom",
12 "Sberbank",
13 ],
14 "sanctionsLists": [
15 "OFAC",
16 "EU",
17 "UN",
18 "UK",
19 ],
20 "gleifEnrich": True,
21 "fuzzyThreshold": 0.7,
22 "maxResultsPerEntity": 3,
23}
24
25
26run = client.actor("gp005/gleif-sanctions-screener").call(run_input=run_input)
27
28
29print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
30for item in client.dataset(run["defaultDatasetId"]).iterate_items():
31 print(item)
32
33