WPKotlin is a Kotlin Multiplatform client library for the WordPress REST API.
- Android
- iOS
- macOS
- JVM
- JavaScript (Browser)
- WebAssembly
- Linux (x64)
- Windows (x64)
// build.gradle.kts
dependencies {
implementation("io.github.rocxteady:wpkotlin:0.0.1")
}
// build.gradle.kts
dependencies {
implementation("io.github.rocxteady:wpkotlin-android:0.0.1")
}
Add the following to your Package.swift
file:
dependencies: [
.package(url: "https://github.com/rocxteady/WPKotlin.git", .upToNextMajor(from: "0.0.3"))
]
- Built with Kotlin Multiplatform
- Powered by Ktor client
- Kotlinx Serialization for JSON parsing
- Coroutines support
- Cross-platform support
- Kotlin 1.9+
- Android minSdk 24+
- Xcode 15+ (for iOS/macOS)
- kotlinx-coroutines
- kotlinx-serialization
- kotlinx-datetime
- ktor-client
WPKotlin is available under the Apache License, Version 2.0. See the LICENSE file for more info.
Ulaş Sancak (@rocxteady)
- WPSwift - Swift client for WordPress REST API