- Strava API — https://developers.strava.com/docs/
- SwiftUI
- Use
ASWebAuthenticationSession
for authentication
- Create your personal App and obtain your credentials from https://www.strava.com/settings/api
- Create a file called ´credentials.json´ with following contents:
{
"client_id" : "YOUR CLIENT_ID",
"client_secret" : "YOUR CLIENT SECRET"
}
- Add the file ´credentials.json´ to your target.
Now you can build the app and connect to your Strava Profile