ryd-kt

Client for interacting with the Return YouTube Dislikes API, enabling retrieval and manipulation of video likes and dislikes using Ktor for networking.

JVMKotlin/NativeWasmJS
GitHub stars1
Authorszt64
Open issues8
LicenseMIT License
Creation dateabout 2 years ago

Last activity23 days ago
Latest release1.4.0 (over 1 year ago)

ryd-kt

Maven Central Version
badge-platform-jvm badge-platform-js badge-platform-js-node badge-platform-linux badge-platform-windows badge-platform-macos badge-platform-ios badge-platform-tvos badge-platform-watchos

Kotlin multiplatform client for the Return YouTube Dislikes API. Using Ktor for networking.

Setup

[versions]
rydKt = "x.y.z"

[libraries]
ryd = { module = "dev.zt64.ryd-kt:client", version.ref = "rydKt" }

Make sure to replace x.y.z with the latest version and to add a Ktor engine to your dependencies.

Usage

val client = RydClient()
val res = client.getVotes("dQw4w9WgXcQ")

println("Likes: ${res.likes}")
println("Dislikes: ${res.dislikes}")

val userId = "..."

client.like(userId, videoId)
client.dislike(userId, videoId)
client.removeVote(userId, videoId)

License

MIT

JVMKotlin/NativeWasmJS
GitHub stars1
Authorszt64
Open issues8
LicenseMIT License
Creation dateabout 2 years ago

Last activity23 days ago
Latest release1.4.0 (over 1 year ago)

ryd-kt

Maven Central Version
badge-platform-jvm badge-platform-js badge-platform-js-node badge-platform-linux badge-platform-windows badge-platform-macos badge-platform-ios badge-platform-tvos badge-platform-watchos

Kotlin multiplatform client for the Return YouTube Dislikes API. Using Ktor for networking.

Setup

[versions]
rydKt = "x.y.z"

[libraries]
ryd = { module = "dev.zt64.ryd-kt:client", version.ref = "rydKt" }

Make sure to replace x.y.z with the latest version and to add a Ktor engine to your dependencies.

Usage

val client = RydClient()
val res = client.getVotes("dQw4w9WgXcQ")

println("Likes: ${res.likes}")
println("Dislikes: ${res.dislikes}")

val userId = "..."

client.like(userId, videoId)
client.dislike(userId, videoId)
client.removeVote(userId, videoId)

License

MIT

Survey iconComplete survey to improve klibs.io ↗
Let’s go