Client for interacting with the Return YouTube Dislikes API, enabling retrieval and manipulation of video likes and dislikes using Ktor for networking.
Kotlin multiplatform client for the Return YouTube Dislikes API. Using Ktor for networking.
[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.
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)Kotlin multiplatform client for the Return YouTube Dislikes API. Using Ktor for networking.
[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.
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)