Contains Kotlin MPP libraries to aid SDK developers in the creation of API client SDKs.
See the individual library READMEs for more details. The best starting place is with the http-api-client README
📝 | This library is still in active development and may break compatibility in future releases |
---|
- JVM (Android)
- iOS (VERY EXPERIMENTAL)
The repository is managed by Gradle with each library being a Gradle module. Each module has its own version and can be published and consumed independently.
$ ./gradlew build
$ ./gradlew jvmTest iosX64Test
JARs are available via Maven Central.
Previous versions are available via JitPack however JitPack can't publish MPP builds.
dependencies {
implementation "au.com.redcrew.apisdkcreator:http-api-client:0.5.4"
}
TODO
Functionality that is often desired in an API pipeline is platform specific, for example, HTTP clients or JSON parsers. While modules in this repo abstracts platform specifics away, in a real application there needs to be an implementation of the abstraction.
To help API SDK developers, companion repos are available with modules that provide specific implementations of abstractions that can suit application requirements.
- api-sdk-creator-jvm
- iOS - TODO
-
api-sdk-creator-jvm - has an
examples
module. -
iOS - TODO