Skip to content

A Kotlin Multiplatform SDK for interacting with Scaleway IoT Hub API

Notifications You must be signed in to change notification settings

playmoweb/scaleway-iot-hub-sdk-kmp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scaleway IoT Hub SDK for Kotlin Multiplatform

Version JVM Android iOS

This is an unofficial SDK for the Scaleway IoT Hub API.

It is written in Kotlin Multiplatform and uses the Ktor client library to interact with the API.

Supported platforms

  • JVM
  • Android
  • iOS

Setup

Dependencies are hosted on Maven Central.

Add dependency

implementation("com.playmoweb.iothub:iothub-sdk:0.1.0")

Usage

Example

import com.playmoweb.iothub.IotHubConfig
import com.playmoweb.iothub.IotHubSdk

val sdk: IotHubSdk = IotHubSdk(
    iotHubConfig = IotHubConfig(
        accessKey = "your_access_key",
        secretKey = "your_secret_key"
    ),
)

val devices = sdk.client.listDevices()

Features

Useful links

About

A Kotlin Multiplatform SDK for interacting with Scaleway IoT Hub API

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages