אימון Apple Health לדוגמהJSONייצוא
ייצוא JSON אמיתי וללא אובדן מאימון ריצה של Apple Health — מטען האימון, מסלול, דגימות וסיכום בסכמה עם גרסה. הורד אותו או הצג את המבנה למטה.
sample-run.json
{
"schemaVersion": 1,
"exportedAt": "2026-04-05T08:00:00Z",
"workout": {
"uuid": "11111111-2222-3333-4444-555555555555",
"activityType": "Running",
"activityTypeRaw": 37,
"startDate": "2026-04-05T08:00:00Z",
"endDate": "2026-04-05T08:12:00Z",
"duration": 720,
"totalDistance": {
"value": 1164.75,
"unit": "m"
},
"totalEnergyBurned": {
"value": 168,
"unit": "kcal"
},
"totalSwimmingStrokeCount": null,
"totalFlightsClimbed": null,
"source": {
"name": "Apple Watch",
"bundleIdentifier": "com.apple.health",
"deviceName": "Apple Watch",
"deviceManufacturer": "Apple",
"deviceModel": "Watch",
"deviceHardwareVersion": null,
"deviceSoftwareVersion": null
},
"metadata": null,
… (283 more lines)
מה יש בקובץ ה-JSON הזה
מעטפה מתארת-עצמה עם schemaVersion: 1. המפתחות ברמה העליונה הם workout, route, samples, וsummary. אידיאלי עבור Python, מחברות והזנה למודל שפה.
ייצא את האימונים שלך
זוהי ריצה לדוגמה. התקן את Workout Exporter כדי לייצא את אימוני ה-Apple Health וה-Apple Watch האמיתיים שלך באותו אופן.
הורד מ-App Store