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.
- JVM
- Android
- iOS
Dependencies are hosted on Maven Central.
implementation("com.playmoweb.iothub:iothub-sdk:0.1.0")
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()
- Hubs
- Devices
- Routes
- Networks
- Twins (experimental) (Cloud Twins API is in BETA)