1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "maxResults": 50,
10 "game": "440",
11 "minPrice": 0,
12 "maxPrice": 0,
13 "sortBy": "price|DESC",
14 "stock": "0",
15 "tf2Spell": "",
16 "tf2Quality": "",
17 "tf2Warpaint": "",
18 "tf2Part": "",
19 "tf2Effect": "",
20 "tf2Type": "",
21 "tf2Class": "",
22 "tf2Killstreak": "",
23 "tf2Festivized": "",
24 "tf2Paint": "",
25 "tf2Wear": "",
26 "cs2Weapon": "",
27 "cs2Type": "",
28 "cs2Rarity": "",
29 "cs2StatTrak": "",
30 "cs2Wear": "",
31 "rustSlot": "",
32 "dotaHero": "",
33 "dotaSlot": "",
34 "dotaType": "",
35 "dotaQuality": "",
36 "dotaRarity": "",
37 "pgcType": "",
38 "pgcSize": "",
39}
40
41
42run = client.actor("coding-doctor-omar/mannco-scraper").call(run_input=run_input)
43
44
45print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
46for item in client.dataset(run["defaultDatasetId"]).iterate_items():
47 print(item)
48
49