1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "lang_langId_3": 4,
10 "lang_langId_4": 4,
11 "lang_langId_5": 4,
12 "lang_countryId_5": 63,
13 "models_typeId_1": 1,
14 "models_langId_1": 4,
15 "models_countryFilterId_1": 63,
16 "models_typeId_2": 1,
17 "models_modelId_2": 4994,
18 "models_langId_2": 4,
19 "models_countryFilterId_2": 63,
20 "models_typeId_3": 1,
21 "models_vehicleId_3": 17296,
22 "models_langId_3": 4,
23 "models_countryFilterId_3": 63,
24 "vehicle_typeId_2": 1,
25 "vehicle_vehicleId_2": 17296,
26 "vehicle_langId_2": 4,
27 "vehicle_countryFilterId_2": 63,
28 "vehicle_typeId_3": 1,
29 "vehicle_modelId_3": 4994,
30 "vehicle_langId_3": 4,
31 "vehicle_countryFilterId_3": 63,
32 "vehicle_engId_4": 1780,
33 "vehicle_langId_4": 4,
34 "vehicle_typeId_5": 1,
35 "vehicle_modelId_5": 4994,
36 "vehicle_langId_5": 4,
37 "vehicle_countryFilterId_5": 63,
38 "vehicle_langId_6": 4,
39 "vehicle_countryFilterId_6": 63,
40 "vehicle_ltnNumber_6": "0588549",
41 "vehicle_langId_7": 4,
42 "vehicle_countryFilterId_7": 63,
43 "vehicle_ltnNumber_7": "0588549",
44 "vehicle_typeId_8": 1,
45 "vehicle_productId_8": 1,
46 "vehicle_vehicleId_8": 17296,
47 "vehicle_langId_8": 4,
48 "vehicle_countryFilterId_8": 63,
49 "parts_typeId_1": 1,
50 "parts_langId_1": 4,
51 "parts_typeId_2": 1,
52 "parts_vehicleId_2": 17296,
53 "parts_langId_2": 4,
54 "parts_typeId_3": 1,
55 "parts_vehicleId_3": 17296,
56 "parts_langId_3": 4,
57 "parts_typeId_4": 1,
58 "parts_vehicleId_4": 17296,
59 "parts_langId_4": 4,
60 "parts_typeId_5": 1,
61 "parts_langId_5": 4,
62 "parts_searchText_5": "VALVE",
63 "parts_langId_6": 4,
64 "parts_langId_8": 4,
65 "parts_langId_9": 4,
66 "parts_langId_10": 4,
67 "parts_typeId_11": 1,
68 "parts_langId_11": 4,
69 "parts_countryFilterId_11": 63,
70 "parts_typeId_12": 1,
71 "parts_langId_12": 4,
72 "parts_countryFilterId_12": 63,
73 "parts_langId_13": 4,
74 "parts_typeId_14": 1,
75 "parts_langId_14": 4,
76 "parts_countryFilterId_14": 63,
77 "parts_typeId_15": 1,
78 "parts_langId_15": 4,
79 "parts_countryFilterId_15": 63,
80 "parts_langId_16": 4,
81 "parts_langId_17": 4,
82 "parts_countryFilterId_17": 63,
83 "parts_typeId_18": 1,
84 "parts_vehicleId_18": 17296,
85 "parts_categoryId_18": 100260,
86 "parts_langId_18": 4,
87 "parts_typeId_19": 1,
88 "parts_vehicleId_19": 17296,
89 "parts_categoryId_19": 100260,
90 "parts_langId_19": 4,
91 "parts_typeId_20": 1,
92 "parts_langId_20": 4,
93 "parts_countryFilterId_20": 63,
94 "parts_typeId_21": 1,
95 "parts_langId_21": 4,
96 "parts_countryFilterId_21": 63,
97 "parts_typeId_22": 1,
98 "parts_langId_22": 4,
99 "parts_countryFilterId_22": 63,
100 "parts_langId_24": 4,
101 "parts_typeId_25": 1,
102 "parts_langId_25": 4,
103 "parts_countryFilterId_25": 63,
104 "parts_langId_26": 4,
105 "parts_langId_29": 4,
106 "parts_langId_30": 4,
107 "parts_langId_31": 4,
108 "parts_langId_32": 4,
109 "parts_langId_33": 4,
110 "parts_articleType_33": "IAMNumber",
111 "parts_typeId_34": 1,
112 "parts_vehicleId_34": 17296,
113 "parts_langId_34": 4,
114 "parts_searchParam_34": "filter",
115 "parts_langId_35": 4,
116 "parts_countryFilterId_35": 63,
117 "parts_typeId_36": 1,
118 "parts_langId_36": 4,
119 "parts_countryFilterId_36": 63,
120 "parts_vehicleId_36": 17296,
121 "parts_langId_38": 4,
122 "parts_countryFilterId_38": 63,
123 "parts_langId_39": 4,
124 "parts_langId_40": 4,
125}
126
127
128run = client.actor("making-data-meaningful/lamborghini-parts-catalog").call(run_input=run_input)
129
130
131print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
132for item in client.dataset(run["defaultDatasetId"]).iterate_items():
133 print(item)
134
135