Swiftpack.co -  mpangburn/NightscoutKit as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
A Swift wrapper around the Nightscout API.
.package(url: "https://github.com/mpangburn/NightscoutKit.git", from: "v0.5.0")


Swift 4.0 Build Status MIT @pangburnout

A Swift wrapper around the Nightscout REST API built for iOS, macOS, watchOS, and tvOS applications.

NightscoutKit supports the following operations:

  • fetching and uploading blood glucose entries
  • fetching, uploading, updating, and deleting treatments
  • fetching, uploading, updating, and deleting profile records
  • fetching device statuses
  • fetching the server status and settings


NightscoutKit is released under the MIT license. See LICENSE for details.


Stars: 5
Last commit: 1 year ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.

Release Notes

3 years ago
  • Large and breaking changes to the API, most notably the decoupling of upload and download operations into NightscoutDownloader and NightscoutUploader.
  • NightscoutDataManager, which can sync uploads/updates/deletions with the latest downloads to keep information up to date before the Nightscout API is updated to reflect the changes.
  • Dependency on my utility library, Oxygen, which separates out non-Nightscout functionality like Result, Atomic, and Weak.

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