1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "queries": [{
10 "keywords": [
11 "tech",
12 "startup",
13 ],
14 "locations": ["San Francisco, US"],
15 "radiusKm": 50,
16 "dateFrom": "2026-01-01",
17 "dateTo": "2026-03-01",
18 "platforms": [
19 "meetup",
20 "luma",
21 "eventbrite",
22 ],
23 "onlineOnly": False,
24 }],
25 "webhookHeaders": {},
26}
27
28
29run = client.actor("barrierefix/event-scraper-pro").call(run_input=run_input)
30
31
32print("πΎ Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
33for item in client.dataset(run["defaultDatasetId"]).iterate_items():
34 print(item)
35
36