سيتم إيقاف واجهات برمجة تطبيقات Google Fit نهائيًا في عام 2026، بما في ذلك واجهة برمجة التطبيقات Google Fit REST API. اعتبارًا من 1 أيار (مايو) 2024، لن يتمكّن المطوّرون من الاشتراك لاستخدام واجهات برمجة التطبيقات هذه.
للحصول على تعليمات حول واجهة برمجة التطبيقات أو المنصة التي تريد نقل البيانات إليها، يُرجى الانتقال إلى دليل نقل البيانات في Health Connect. للاطّلاع على مقارنة بين Health Connect وGoogle Fit API وFitbit Web API، يُرجى الانتقال إلى دليل مقارنة Health Connect.
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
الشكل 1: واجهة برمجة تطبيقات Google Fit REST.
تتيح لك واجهة Google Fit REST API تخزين بيانات الصحة والعافية وقراءتها في متجر اللياقة البدنية من تطبيقات على أي نظام أساسي.
توفر واجهة برمجة تطبيقات REST الموارد والطرق من أجل:
إنشاء مصادر البيانات والحصول عليها وإدراجها في قائمة وتعديلها يمثل مصدر البيانات مصدرًا فريدًا
لبيانات المستشعر. ترتبط جميع بيانات الصحة والعافية في متجر اللياقة البدنية بمصدر بيانات معيّن.
إنشاء مجموعات البيانات والحصول عليها وتجميعها وحذفها تمثل مجموعة البيانات مجموعة من نقاط
البيانات من مصدر بيانات معين.
إدراج نقاط البيانات وإضافتها إلى مجموعة بيانات تمثل نقطة البيانات عينة من مصدر بيانات معين.
إنشاء الجلسات وإدراجها في قائمة وحذفها تمثل الجلسة فاصلاً زمنيًا مع بيانات
التعريف المرتبطة.
تاريخ التعديل الأخير: 2025-08-31 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-08-31 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eThe Google Fit REST API allows you to store and retrieve health and wellness data from various apps in the fitness store.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage data sources, which represent unique sources of sensor data, through creating, accessing, listing, and modifying them.\u003c/p\u003e\n"],["\u003cp\u003eDatasets, representing sets of data points from a specific data source, can be created, accessed, aggregated, and deleted using the API.\u003c/p\u003e\n"],["\u003cp\u003eData points, which are individual samples from a data source, can be listed and added to datasets.\u003c/p\u003e\n"],["\u003cp\u003eSessions, representing time intervals with associated metadata, can be created, listed, and deleted.\u003c/p\u003e\n"]]],[],null,["# REST API\n\n\u003cbr /\u003e\n\n**Figure 1** : Google Fit REST API.\n\nThe Google Fit REST API enables you to store and read health and wellness data in the\n[fitness store](/fit/overview#components) from apps on any platform.\n\nThe REST API provides resources and methods to:\n\n- Create, obtain, list, and modify **data sources**. A data source represents a unique source of\n sensor data. All health and wellness data in the fitness store is associated with a particular data source.\n\n- Create, obtain, aggregate, and delete **datasets**. A dataset represents a set of\n data points from a particular data source.\n\n- List **data points** and add them to a dataset. A data point represents a sample from a particular\n data source.\n\n- Create, list, and delete **sessions**. A session represents a time interval with associated\n metadata."]]