1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "recordIds": ["10016307"],
10 "searches": [{
11 "siteName": "Keystone",
12 "nameMatch": "contains",
13 "state": "Colorado",
14 "country": "United States",
15 "commodity": "Gold",
16 }],
17 "boundingBoxes": [{
18 "west": -107.06,
19 "south": 38.87,
20 "east": -107.03,
21 "north": 38.89,
22 "commodity": "Lead",
23 }],
24}
25
26
27run = client.actor("automation-lab/usgs-mrds-mineral-resource-records").call(run_input=run_input)
28
29
30print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
31for item in client.dataset(run.default_dataset_id).iterate_items():
32 print(item)
33
34