Swiftpack.co - stairtree/StructuredAPIClient as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by stairtree.
stairtree/StructuredAPIClient 2.1.1
A testable and composable kit for building network API clients
⭐️ 4
🕓 10 weeks ago
iOS macOS watchOS tvOS
.package(url: "https://github.com/stairtree/StructuredAPIClient.git", from: "2.1.1")


MIT License CI Swift 5.9

A testable and composable network client.

For more information, browse the API documentation (coming soon).

Supported Platforms

StructuredAPIClient is tested on macOS, iOS, tvOS, Linux, and Windows, and is known to support the following operating system versions:

  • Ubuntu 20.04+
  • AmazonLinux2
  • macOS 10.12+
  • iOS 12+
  • tvOS 12+
  • watchOS 5+
  • Windows 10 (using the latest Swift development snapshot)

To integrate the package:

dependencies: [
    .package(url: "https://github.com/stairtree/StructuredAPIClient.git", from: "2.0.0")

Inspired by blog posts by Rob Napier and Soroush Khanlou, as well as the Testing Tips & Tricks WWDC talk. Version 2.0 revised for full Concurrency support by @gwynne.


Stars: 4
Last commit: 2 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

2.0.0 - Overhaul of entire package
11 weeks ago

Welcome to version 2.0.0! The API is largely the same, save for a few shifts in async-ness, the addition of Sendable conformances, and the removal of legacy API such as the Combine interface and the BackgroundTaskTransport.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics