1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "datasetIds": ["efewDi8Ra3E55LpJV"],
10 "filters": [
11 {
12 "field": "followersCount",
13 "operator": "gt",
14 "value": 10000,
15 },
16 {
17 "field": "isVerified",
18 "operator": "equals",
19 "value": True,
20 },
21 ],
22 "renameFields": { "fullName": "name" },
23}
24
25
26run = client.actor("seemuapps/dataset-transformer").call(run_input=run_input)
27
28
29print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
30for item in client.dataset(run.default_dataset_id).iterate_items():
31 print(item)
32
33