This library is a Mastodon client library that supports Kotlin Multiplatform. It depends on khttpclient and internally uses Ktor Client. Therefore, this library is available on Kotlin Multiplatform and platforms supported by Ktor Client. The behavior on each platform depends on khttpclient.
Below is how to use it in Kotlin with Gradle on supported platforms. If you want to use it on Apple platforms, please refer to kslack-cocoapods. Also, for usage in JavaScript, please refer to kslack.js. Please refer to the test code for how to use each API.
repositories {
mavenCentral()
+ maven { url = uri("https://repo.repsy.io/mvn/uakihir0/public") }
}
dependencies {
+ implementation("work.socialhub.kslack:core:0.0.1-SNAPSHOT")
+ implementation("work.socialhub.kslack:stream:0.0.1-SNAPSHOT")
}
WIP
MIT License