Introducing Open Source Pure Swift Library for Particle Cloud

I am happy to announce a new open source, pure Swift client SDK suitable for iOS, macOS, tvOS, watchOS, and Linux using both traditional Xcode project projects or the new Swift Package Manager

https://github.com/vakoc/particle-swift

This library is a 100% Swift, dependency free framework that provides APIs covering the Particle Cloud services

  • Authentication - Authenticate with and manage OAuth tokens
  • Devices - Retrieve information about Particle devices, variables, and functions. Claim, transfer, and unclaim devices. Call functions on devices
  • Webhooks - Create, list, and remove webhooks
  • Events - Listen to events

A separate project, https://github.com/vakoc/particle-swift-cli, provides a Swift Package Manager based command line executable that serves as a standalone application to invoke Particle Cloud functions and as a reference sample on how to use the APIs.

All source released under Apache 2.0 license. Refer to the github pages for more information.

Enjoy!

Significant portions of Products and Firmware (compilation) have been added since this announcement.

Enjoy!

Thanks for sharing this!

OAuth client related cloud APIs have just been added.