1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "workflow": "lookup",
10 "npis": ["1881018208"],
11 "maxResults": 25,
12 "maxBuyerChargeUsd": 5,
13 "entityType": "all",
14 "status": "all",
15 "outputProfile": "core",
16 "stateNamespace": "default",
17 "maxTrackedNpis": 1000,
18 "maxRequests": 6500,
19 "maxSourceBytes": 2000000000,
20 "maxRuntimeSecs": 14400,
21 "maxArchiveCompressedBytes": 1500000000,
22 "maxArchiveInflatedBytes": 15000000000,
23 "maxArchiveEntryBytes": 12500000000,
24 "maxArchiveEntries": 24,
25 "maxArchiveExpansionRatio": 20,
26}
27
28
29run = client.actor("luminar/nppes-provider-change-monitor").call(run_input=run_input)
30
31
32print(f"πΎ Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
33for item in client.dataset(run.default_dataset_id).iterate_items():
34 print(item)
35
36