tkausch / MyUplinkSwift

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:GNU General Public License v3.0


Languages

Language:Swift 100.0%