Strava is a website and mobile app used to track athletic activity via GPS. Its headquarters are located in California. The most popular activities tracked using the software are Cycling and running.
If we are developing a health based application , sometimes we need to fetch data from Strava for analysis .In this tutorial , we will show you how to fetch data from Strava.
Strava provide full API to fetch data from their server . for more detail https://strava.github.io/api/v3/oauth/ .
- Strava API work with Oauth 2.0 , go through https://www.strava.com/login and register your app and get ClientId , Client Secret .
- Download OAuth library from https://github.com/OAuthSwift/OAuthSwift
- Download demo STRAVA app from https://github.com/msyshani/StravaDemo-for-iOS