Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.28 KB

README.md

File metadata and controls

35 lines (25 loc) · 1.28 KB

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"))
    ]
)