Skip to content

An API client using the MyUplink RESTful API to access NIBE-S heat pump data.

License

Notifications You must be signed in to change notification settings

tkausch/MyUplinkSwift

Repository files navigation

Build main

myuplink

The myUplink API is a RESTful API to access public data from the NIBE S-Series heat pumps. This Swift library provides a simple client using this RESTful API.

  • No third party dependencies - only Swift Foundation libraries
  • Authentication/Authorization with Openid Connect using authorisation code flow
  • Fully unit tested against a PostmanMock

Get more information about the public RESTful MyUplink API from myUplink

Installation

MyUplinkSwift is packaged as a Swift framework. Currently this is the easiest way to add it to your app:

  • Drag MyUplink.xcodeproj to your project in the Project Navigator.
  • Select your project and then your app target. Open the Build Phases panel.
  • Expand the Target Dependencies group, and add MyUplink framework.
  • import MyUplink whenever you want to use OAuthSwift.

Swift Package Manager Support

import PackageDescription

let package = Package(
    name: "MyApp",
    dependencies: [
        .package(name: "MyUplink",
            url: "https://https://github.com/tkausch/MyUplinkSwift.git",
            .upToNextMajor(from: "0.1.0"))
    ]
)

About

An API client using the MyUplink RESTful API to access NIBE-S heat pump data.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages