Las APIs de Google Fit, incluida la API de REST de Google Fit, dejarán de estar disponibles en 2026. A partir del 1 de mayo de 2024, los desarrolladores no podrán registrarse para usar estas APIs.
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Figura 1: API de REST de Google Fit.
La API de REST de Google Fit te permite almacenar y leer datos de salud y bienestar en la tienda de entrenamiento desde apps en cualquier plataforma.
La API de REST proporciona recursos y métodos para hacer lo siguiente:
Crear, obtener, enumerar y modificar fuentes de datos Una fuente de datos representa una fuente única de datos de sensores. Todos los datos de salud y bienestar de la tienda de entrenamiento están asociados con una fuente de datos específica.
Crear, obtener, agregar y borrar conjuntos de datos Un conjunto de datos representa un conjunto de
datos de una fuente de datos en particular.
Enumera los datos y agrégalos a un conjunto de datos. Un dato representa una muestra de una fuente de datos en particular.
Crea, enumera y borra sesiones. Una sesión representa un intervalo de tiempo con metadatos asociados.
[null,null,["Última actualización: 2025-08-31 (UTC)"],[[["\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."]]