Google Fit REST API de dahil olmak üzere Google Fit API'lerinin desteği 2026'da sonlandırılacak. 1 Mayıs 2024'ten itibaren geliştiriciler bu API'leri kullanmak için kaydolamaz.
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Google Fit açık bir ekosistemdir. Geliştiricilerin sağlık ve sağlıklı yaşam verilerini merkezi bir depoya yüklemesine olanak tanır. Kullanıcılar bu depodaki verilere farklı cihaz ve uygulamalardan tek bir yerden erişebilir. Yeni bir cihaza geçerlerse verilerine
yine de erişebilirler.
Sağlık ve sağlıklı yaşam uygulamanız giyilebilir cihazlardan veya sensörlerden gelen verileri depolayabilir ve diğer uygulamalar tarafından oluşturulan verilere erişebilir.
Çeşitli cihazlardan ve uygulamalardan gelen verileri depolayan merkezi bir depo. Fitness mağazası, müşteriler için şeffaf olan bir bulut hizmetidir.
Sensör çerçevesi
Fitness mağazasıyla çalışmayı kolaylaştıran bir dizi üst düzey temsil. Bu gösterimleri Google Fit API'leriyle kullanırsınız.
İzinler ve kullanıcı denetimleri
Sağlık ve sağlıklı yaşam verileriyle çalışmak için kullanıcı izni istemek amacıyla kullanılan bir dizi yetkilendirme kapsamıdır. Google Fit, sağlık ve sağlıklı yaşam verilerine erişebilmek için kullanıcı iznine ihtiyaç duyar.
Google Fit API'leri
Fitness mağazasına erişmek için Android ve REST API'leri. Google Fit'i Android, iOS ve web uygulamaları gibi çeşitli platform ve cihazlarda destekleyen uygulamalar oluşturabilirsiniz.
Fitness mağazası
Fitness mağazası, Google'ın altyapısını kullanarak sağlık ve sağlıklı yaşam verilerini saklayan bir bulut hizmetidir. Farklı platform ve cihazlardaki uygulamalar verileri depolayabilir ve diğer uygulamalar tarafından oluşturulan verilere erişebilir. Google Fit, veri eklemeyi ve fitness deposunu sorgulamayı
kolaylaştıran bir dizi API sunar.
Sensör çerçevesi
Sensör çerçevesi sensörler, veri türleri, veri noktaları ve oturumlar için üst düzey gösterimleri tanımlar. Bu temsiller, fitness mağazasıyla her
platformda çalışmayı kolaylaştırır.
Veri Kaynakları
Veri kaynakları; sensörleri temsil eder. Bu kaynaklarda ad, toplanan veri türü ve diğer sensör ayrıntıları bulunur. Veri kaynağı bir donanım sensörünü veya
yazılım sensörünü temsil edebilir. Uygulamalarınızda yazılım sensörleri tanımlayabilirsiniz.
Veri Türleri
Veri türleri, adım sayısı veya nabız gibi farklı sağlık ve sağlıklı yaşam verilerini temsil eder. Veri türleri, farklı uygulamaların birbirlerinin verilerini anlayabileceği bir şema oluşturur. Veri türü, bir addan ve her alanın bir boyutu temsil ettiği sıralı bir alanlar listesinden oluşur. Örneğin, konuma ilişkin bir veri türü üç alan (enlem, boylam ve doğruluk) içerirken ağırlık için veri türü yalnızca bir alan içerir.
Veri Noktaları
Veri noktaları, veri kaynağından okunan, veri türünün zaman damgasıyla oluşturulmuş değerler dizisinden oluşur. Fitness mağazasına sağlık ve sağlıklı yaşam verileri kaydedip eklemek ve bir veri kaynağından ham verileri okumak için veri noktalarını kullanırsınız. Başlangıç zamanı içeren noktalar, anlık bir okuma yerine bir zaman aralığını temsil eder.
Veri kümeleri
Veri kümeleri, belirli bir veri kaynağından alınan ve belirli bir zaman aralığını kapsayan aynı türdeki veri noktalarını temsil eder. Fitness deposuna veri eklemek için
veri kümeleri kullanırsınız. Fitness deposundan veri okumak için yapılan sorgular, veri kümelerini de döndürür.
Oturum sayısı
Oturumlar, kullanıcıların koşu, bisiklete binme gibi fitness aktiviteleri yaptığı zaman aralığını temsil eder. Oturumlar, bir fitness aktivitesi için fitness deposunda verilerin düzenlenmesine ve ayrıntılı ya da toplu sorgular gerçekleştirilmesine yardımcı olur.
İzinler ve kullanıcı denetimleri
Uygulamaların sağlık ve sağlıklı yaşam verilerini okuyabilmesi veya depolayabilmesi için Google Fit'in kullanıcı iznine ihtiyacı vardır.
Google Fit, ayrı okuma ve yazma ayrıcalıklarına sahip olan çeşitli izin gruplarıyla eşlenen OAuth kapsamlarını tanımlar: aktivite, vücut, konum, beslenme ve sağlıkla ilgili veri türleri (sağlıkla ilgili veri türleri, daha ayrıntılı bir şekilde gruplandırılır). Her izin grubu, uygulamaların bir dizi veri türüne erişmesine izin verir.
Uygulamalar, sağlık ve sağlıklı yaşam verileriyle çalışmak için bu kapsamlardan birini veya daha fazlasını belirtir. Google Fit, kullanıcıdan ilgili izinleri ister.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-07-25 UTC."],[[["\u003cp\u003eGoogle Fit provides a central platform and APIs for storing, accessing, and sharing health and wellness data from various apps and devices.\u003c/p\u003e\n"],["\u003cp\u003eUsers have control over their data and must grant permission for apps to access it.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can build apps that integrate with Google Fit using Android or REST APIs, supporting cross-platform functionality.\u003c/p\u003e\n"],["\u003cp\u003eData is organized using data sources, data types, data points, datasets, and sessions for efficient storage and retrieval.\u003c/p\u003e\n"],["\u003cp\u003eCompliance with the Google Fit Developer and User Data Policy and Terms and Conditions is essential when utilizing the platform.\u003c/p\u003e\n"]]],[],null,["Google Fit is an open ecosystem. It lets developers upload health and wellness\ndata to a central repository where users can access their data from different\ndevices and apps in one location. They can still access their data if they\nupgrade to a new device.\n\nYour health and wellness app can store data from any wearable or sensor, and\naccess data created by other apps.\n| **Note:** The Google Fit app uses the Google Fit platform, which is included in Google Play services. Your app can use this platform without needing users to install the Google Fit app.\n\nRead the [Google Fit Developer and User Data Policy](/fit/policy) thoroughly and\nmake sure your app complies with it. Carefully review the [Google Fit Terms and\nConditions](/fit/terms) before using Google Fit. By using the API, you agree to\nthe Google Fit Terms and Conditions.\n\nComponents\n\nGoogle Fit consists of the following components: \n**Figure 1** : Platform overview.\n\nThe fitness store\n: A central repository that stores data from a variety of devices and apps. The\n fitness store is a cloud service that is transparent to clients.\n\nThe sensor framework\n: A set of high-level representations that make it easy to work with the fitness\n store. You use these representations with the Google Fit APIs.\n\nPermissions and user controls\n: A set of authorization scopes to request user permission to work with health\n and wellness data. Google Fit requires user consent to access health and\n wellness data.\n\nGoogle Fit APIs\n: Android and REST APIs to access the fitness store. You can create apps that\n support Google Fit on multiple platforms and devices, such as Android, iOS, and\n Web apps.\n\nThe fitness store\n\nThe fitness store is a cloud service that persists health and wellness data using Google's\ninfrastructure. Apps on different platforms and devices can store data and\naccess data created by other apps. Google Fit provides a set of APIs that make\nit easy to insert data and query the fitness store.\n\nThe sensor framework\n\nThe sensor framework defines high-level representations for sensors,\ndata types, data points, and sessions. These representations make it easy to\nwork with the fitness store on any platform.\n\nData Sources\n: Data sources represent sensors and consist of a name, the type of data\n collected, and other sensor details. A data source may represent a hardware\n sensor or a software sensor. You can define software sensors in your apps.\n\nData Types\n: Data types represent different kinds of health and wellness data, like step count or heart\n rate. Data types establish a schema through which different apps can understand\n each other's data. A data type consists of a name and an ordered list of fields,\n where each field represents a dimension. For example, a data type for location\n contains three fields (latitude, longitude, and accuracy), whereas a data type\n for weight contains only one field.\n\nData Points\n: Data points consist of a timestamped array of values for a data type, read\n from a data source. You use data points to record and insert health and wellness data in the\n fitness store, and to read raw data from a data source. Points that contain a\n start time represent a time range instead of an instantaneous reading.\n\nDatasets\n: Datasets represent a set of data points of the same type from a particular\n data source covering some time interval. You use datasets to insert data into\n the fitness store. Queries to read data from the fitness store also return\n datasets.\n\nSessions\n: Sessions represent a time interval during which users perform a fitness\n activity, such as a run, a bike ride, and so on. Sessions help organize data and\n perform detailed or aggregate queries on the fitness store for a fitness\n activity.\n\nPermissions and user controls\n\nGoogle Fit requires user consent before apps can read or store health and wellness data.\nGoogle Fit defines OAuth scopes that map to a number of permission groups with\nseparate read and write privileges: activity, body, location, nutrition and\nhealth-related data types (health-related data types are grouped with finer\ngranularity). Each permission group grants apps access to a set of data types.\nApps specify one or more of these scopes to work with health and wellness data, and Google\nFit requests the corresponding permissions from the user.\n\nGoogle Fit APIs\n\nGoogle Fit provides the following APIs:\n\n- [Android APIs](/fit/android) for Android apps.\n- [REST API](/fit/rest) for apps on any platform."]]