1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "enrichment_mode": "fast_index",
10 "search_keywords": [
11 "clothing brand",
12 "ugc creator",
13 ],
14 "hashtags": [
15 "fashiontok",
16 "apparel",
17 ],
18 "direct_usernames": [],
19 "location_filter": "",
20 "only_custom_domains": False,
21 "max_results": 10,
22 "only_with_email": True,
23 "extract_phone_numbers": True,
24 "extract_social_links": True,
25 "proxyConfiguration": { "useApifyProxy": True },
26}
27
28
29run = client.actor("automation_studio/toklead-dual-mode").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