
Kotlin wrapper for the Gofile.io API, enabling file uploads, folder creation, account management, and error handling with asynchronous support using Ktor. Supports all account tiers.
A kotlin wrapper for the Gofile.io API.
You also need to add Ktor client engine.
repositories {
mavenCentral()
}
dependencies {
implementation("dev.s7a:gofile:1.1.0")
// See also: https://ktor.io/docs/http-client-engines.html
// implementation("io.ktor:ktor-client-???:$ktor_version")
}repositories {
mavenCentral()
}
dependencies {
implementation "dev.s7a:gofile:1.1.0"
// See also: https://ktor.io/docs/http-client-engines.html
// implementation "io.ktor:ktor-client-???:$ktor_version"
}import dev.s7a.gofile.GofileClient
fun main() {
val client = GofileClient() // Automatically find the engine
// client.uploadFile(), etc...
}A kotlin wrapper for the Gofile.io API.
You also need to add Ktor client engine.
repositories {
mavenCentral()
}
dependencies {
implementation("dev.s7a:gofile:1.1.0")
// See also: https://ktor.io/docs/http-client-engines.html
// implementation("io.ktor:ktor-client-???:$ktor_version")
}repositories {
mavenCentral()
}
dependencies {
implementation "dev.s7a:gofile:1.1.0"
// See also: https://ktor.io/docs/http-client-engines.html
// implementation "io.ktor:ktor-client-???:$ktor_version"
}import dev.s7a.gofile.GofileClient
fun main() {
val client = GofileClient() // Automatically find the engine
// client.uploadFile(), etc...
}