Skip to content

A library to create Swift Combine publishers for accessing the Strava API.

License

Notifications You must be signed in to change notification settings

ElyesDer/StravaCombine

 
 

Repository files navigation

bitrise CI platforms Swift Package Manager compatible

StravaCombine

StravaCombine is a library that makes Strava authentication and workout-upload available via Swift Combine publishers. This makes it easy to integrate Strava into a SwiftUI application. This library is used in Travaartje: https://travaartje.net.

How to use

See https://github.com/katoemba/travaartje for examples how this library can be used.

Requirements

  • iOS 13, macOS 10.15
  • Swift 5.1

Installation

Build and usage via swift package manager is supported:

The easiest way to add the library is directly from within XCode (11). Alternatively you can create a Package.swift file.

// swift-tools-version:5.0

import PackageDescription

let package = Package(
  name: "MyProject",
  dependencies: [
  .package(url: "https://github.com/katoemba/stravacombine.git", from: "1.0.0")
  ],
  targets: [
    .target(name: "MyProject", dependencies: ["StravaCombine"])
  ]
)

Testing

A full set of unit tests is included.

Who do I talk to?

  • In case of questions you can contact berrie at travaartje dot net

About

A library to create Swift Combine publishers for accessing the Strava API.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 100.0%