Published: December 15, 2023
22 min read
In this article, you'll learn:
1
📲 How to Get Fitness & Health Data for Your App from other Apps?
2
🏃♂️ Google Fit
3
🧘♀️ Apple’s HealthKit
4
🏄♀️ Garmin
5
🚴♂️ Fitbit
6
🏂 Strava
7
🦸♂️ Our Expertise in Health and Fitness Data Sharing Implementation
8
💡 Takeaways
Whatever your reasons are, you will still encounter the same questions like:
In this guide, we’ll cover all of the already mentioned, as well as some other questions like comparing Google Fit kit vs Apple Health Integration. Let’s start by figuring out the general scheme of how you can integrate these services into your app.
If you're a gym and yoga studio owner, personal coaches, or fitness influencers who has little background in the tech industry, let’s dedicate some time to talking about how third-party app features integration works from the technical point of view.
To access fitness & health data provided by such services as Google Fit, Apple Health, Garmin, and others, you’ll need to integrate their public API — application programming interface. To put it simply: write a special part of code that will enable your app to reach out to those services, ask them for data and display it in your application.
In the description of each service, we’ve left links to the service’s documentation that explains what your developers should do. So just show it to your development team if you already have one — and they’ll be all set!
In case you’re still looking for a Tech Partner, drop us a line with your idea and we’ll be glad to see how we can apply our experience to help you!
Links to the documentation can be found in paragraphs dedicated to each service 🙂
Let’s start by taking a look at two major fitness & health data services — Google Fit and Apple Health!
Google Fit was released in 2014. The same year the company also introduced the Google Fit SDK to provide developers with tools for mobile and web app development.
Actually, there are quite many fitness apps using Google API. The most well-known are Nike Run Club, Strava, Runtastic, 8fit Workouts, Calorie Counter — MyFitnessPal, and others.
What’s even more interesting is that the list of Google Fit compatible apps isn’t only limited to fitness applications. For example, you can find such apps as Pokémon Go (game), Calm (mindfulness), or Clue Period Tracker (women’s reproductive and overall health).
Your app can access this data by asking permission to do so. Except for that public data, Google Fit can also store restricted health data types. However, since these kinds of data relate to sensitive healthcare information, you’ll have to apply for OAuth API verification to get it. Then, Google will review your application and either grant or deny verification. Such protected info includes:
If you need data that isn’t covered by the platform yet, Google allows creating custom data types.
Since health and fitness data is usually quite sensitive, you should also be aware of how Google Fitness APIs comply with modern security requirements and how you integrate them without breaking these rules.
The full Terms and Conditions can be found here, so we’ll just cover the key points:
To enable Google Fit to share data with your app, you’ll need a Google account and Google Play Services. Good news for your developers: Google provides clear and extensive documentation on how to retrieve data from Google Fitness API! Let them check it below:
Now, let’s switch to Apple’s healthcare data framework and check the differences between HealthKit and Google Fit!
Just like Google Fit, the Apple Health app was announced in 2014 and included in Apple devices with iOS 8+. Quite a fruitful year for fitness apps, isn’t it?
Along with the app, the company also released the Apple HealthKit API, which is a part of the iOS SDK for app development on Mac.
The tool became popular really quickly. The list of apps compatible with HealthKit includes such popular names as:
** full list of examples can be found here*
How does the Health app collect such data? It’s provided either by:
Note that developers aren’t allowed to create custom data types. So, if you decide to connect Apple Health framework to your app, make sure that it provides all the types of data you need. Otherwise, we’d recommend you to consider using another fitness data service that either provides all the required data types or allows you to create custom ones — like Google Fit API.
When developing fitness apps that work with Apple Health you can enable them to access and read the data as well as save new data to HealthKit.
Apple has quite strict guidelines for developers that want to enable data exchange using the Apple Healthkit SDK. Here are the key things to consider:
You can find more details on user privacy on the official pages of the iOS HealthKit framework: Protecting User Privacy and HealthKit Interface Guidelines.
Apple has a comprehensive step-by-step guide for iOS developers. Note that you can only integrate HealthKit into iOS applications.
For that, however, your Development Team will need to use iOS SDK 8 or higher. The guide for that can be found here.
Garmin is one of Apple’s and Fitbit’s key competitors on the market of fitness wearable devices. With millions of users, Garmin also represents a huge database of fitness data that you can access from your fitness app, too.
That has been proven by the number of third-party fitness apps and websites that have partnered with Garmin for facilitated data exchange. To name a few big names: Nike+, Strava, MyFitnessPal, Run Keeper, and others.
However, you can customize your data feed and read only those metrics that are essential for your app, leaving out the unnecessary ones.
The list of supported activity types is also huge and includes over 30 names. Except for basic running/cycling/swimming activities, Garmin also provides data on such special sports like kitesurfing, snowboarding, and others.
Garmin’s Privacy Policy and Agreement are available only for those who have requested and been granted access to the company’s API and SDKs.
However, as of 2019, it included common security requirements:
However, it also included a number of special responsibilities such as:
Garmin provides access to its framework upon request. Usually, the request is processed within 2 business days. The approval grants you access to the Garmin Developer Portal.
They also hold an integration call to better understand your needs and help with high-level technical details. Typically, integration takes 1-3 weeks. Typically, integration takes 1-3 weeks.
You can send your request here:
Garmin Health SDKs Overview | Garmin Health API Overview
Enabling Fitbit to share data from 20+ million users opens your way to one of the biggest fitness data storages. Additionally, with comprehensive documentation, the development becomes a “piece of cake.”
Just like Garmin, Fitbit integration allows creating your own apps for Fitbit wearable devices and integrating user data into your desktop or mobile applications. Here are APIs and SDKs you should use for that purpose.
You should also be careful with details. For example, your app, business name, domain name, and even email address or social media username can’t contain not only the name “Fitbit” itself but also the “-bit” ending. You are also not allowed to use their logo, icon, and even fonts from any Fitbit Products.
You can check all the needed policies and requirements here:
To connect Fitbit SDK and develop apps and clock faces for Fitbit devices, you’ll need:
Look for all the details here:
Strava is another popular fitness platform that can be a source of valuable health & workout data for you. However, the company is also quite strict on how you use that data, so they expect your application to augment the Strava user experience in the first place.
Nevertheless, the Strava API is used by many big names such as Fitbit, Peloton, or Aaptiv. The company is actually really proud of the number of apps integrated with them, so you can find many cases on this list.
By the way, one of the projects we’ve worked on is featured on that list under the wellness category — look for WePulse. Closer to the end of this article we'll share our expertise using that case!
Strava doesn’t have all these data types listed in one place, but you can check this page for more info.
Strava’s guidelines are somewhat similar to the ones Fitbit has. Except for basic security requirements, you are not allowed to create an app that replicates or competes with Strava.
However, the company also has a few special requirements. For example:
To make sure your app matches all the requirements for Strava integration, check the following links:
All the info on integration can be found in the Getting Started Guide and Strava API Documentation.
At Stormotion, we have also implemented fitness data integration from third-party services into our clients’ apps. One of the projects we’ve worked on, WePulse, is even featured on the Strava website.
WePulse is a French corporate well-being platform aimed to motivate employees across Europe to adopt a healthier lifestyle. The company has over 85 000 signed up employees and 150 partners, including BNP Paribas, Go Sport, and the city of Paris.
We started working on their project when our other client, a German corporate health platform HUMANOO, acquired WePulse.
Was it helpful?
Read also
What is Prototyping in IoT and Some Practical Advice
What is IoT Device Management?
How to Make your React Native Application Accessible to ALL, not just to MANY
Our clients say
They understand what it takes to be a great service provider, prioritizing our success over money. I think their approach to addressing ambiguity is their biggest strength. It definitely sets them apart from other remote developers.
Max Scheidlock, Product Manager
HUMANOO