1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "bearings": [
9 "6205, C 14.8 kN, C0 7.8 kN, Fr 2 kN, Fa 0.5 kN, 3000 rpm, ISO VG 68 at 70 C, normal cleanliness, 99% reliability, 20000 hours",
10 "deep groove ball bearing, radial load 413 lbf, application factor 1.2, 300 rpm, 30000 hours, 99% reliability",
11 "30206 tapered roller, C 54 kN, C0 63 kN, e 0.37, Y 1.6, Fr 8 kN, Fa 4 kN, 800 rpm, 15000 h",
12 {
13 "title": "Conveyor pulley bearing, duty cycle",
14 "designation": "22212",
15 "c": "204 kN",
16 "c0": "216 kN",
17 "e": 0.28,
18 "y1": 2.4,
19 "y": 3.6,
20 "loads": [
21 {
22 "fr": "30 kN",
23 "fa": "3 kN",
24 "rpm": 120,
25 "share": 70,
26 },
27 {
28 "fr": "45 kN",
29 "fa": "5 kN",
30 "rpm": 120,
31 "share": 30,
32 },
33 ],
34 "oilGrade": 220,
35 "temperature": 60,
36 "contamination": "typical contamination",
37 "lifeHours": 60000,
38 },
39 ] }
40
41
42run = client.actor("jumblemog/bearing-life-calculator").call(run_input=run_input)
43
44
45print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
46for item in client.dataset(run.default_dataset_id).iterate_items():
47 print(item)
48
49