1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "coinSymbols": [
9 "BTC",
10 "ETH",
11 "BNB",
12 "SOL",
13 "XRP",
14 "ADA",
15 "DOGE",
16 "AVAX",
17 "DOT",
18 "MATIC",
19 "SHIB",
20 "LTC",
21 "BCH",
22 "ATOM",
23 "XLM",
24 "UNI",
25 "ALGO",
26 "FIL",
27 "AAVE",
28 "NEAR",
29 ] }
30
31
32run = client.actor("ahmed_jasarevic/cryptocompare-scraper").call(run_input=run_input)
33
34
35print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
36for item in client.dataset(run.default_dataset_id).iterate_items():
37 print(item)
38
39