1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "startUrls": [
10 "https://dealroom.co/api/lookup-slug?name=OpenAI&type=company&limit=3",
11 "https://dealroom.co/companies/stripe",
12 "https://app.dealroom.co/companies/f?q=Mistral",
13 "https://dealroom.co/api/live-signals?limit=3",
14 "https://dealroom.co/api/marketmaps?q=AI&limit=3",
15 "https://dealroom.co/api/marketmaps?tag=fintech&limit=3",
16 "https://dealroom.co/data/just-founded.json",
17 "https://app.dealroom.co/companies/revolut",
18 "https://app.dealroom.co/lists/14655",
19 "https://dealroom.co/charts/landscape-52820-ai-x-climate-tech.html",
20 "https://dealroom.co/api/marketmap?id=landscape-53885",
21 ],
22 "searchQuery": "AI",
23 "maxItems": 20,
24 "proxyConfiguration": {
25 "useApifyProxy": True,
26 "apifyProxyGroups": [],
27 },
28 "incrementalMode": False,
29 "emitUnchanged": False,
30 "emitExpired": False,
31}
32
33
34run = client.actor("abotapi/dealroom-co-scraper").call(run_input=run_input)
35
36
37print(f"๐พ Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
38for item in client.dataset(run.default_dataset_id).iterate_items():
39 print(item)
40
41