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
🕓 19 weeks ago
iOS macOS watchOS tvOS
.package(url: "https://github.com/stairtree/StructuredAPIClient.git", from: "2.1.1")

StructuredAPIClient

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.

GitHub

link
Stars: 4
Last commit: Yesterday
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

2.1.0 - General cleanup and improvements
20 weeks ago

What's Changed

  • Bump the swift-http-types version requirement (#11)
  • Fix a broken link in the README (#11)
  • Add a dependency on stairtree/async-helpers (#11)
  • Do lots of general cleanup of syntax and formatting (#11)
  • Improve documentation comments (#11)
  • Use the locking primitives from AsyncHelpers (#11)
  • Provide better granularity of request timing when trace logging (#11)
  • Remove archaisms around the Concurrency support (#11)

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