
Offers a client for the DeArrow API, enabling retrieval of video branding details such as titles and thumbnails, utilizing Ktor for networking tasks.
Kotlin multiplatform client for the DeArrow API. Using Ktor for networking.
[versions]
dearrowkt = "x.y.z"
[libraries]
dearrow = { module = "dev.zt64:dearrow-kt", version.ref = "dearrowkt" }
Make sure to replace x.y.z with the latest version and to add a Ktor engine to your dependencies.
val client = DearrowClient()
val videoId = "dQw4w9WgXcQ"
val branding = client.getBranding(videoId)
// OR = client.getBrandingByHash(videoId)
println(video.titles)
println(video.thumbnails)Kotlin multiplatform client for the DeArrow API. Using Ktor for networking.
[versions]
dearrowkt = "x.y.z"
[libraries]
dearrow = { module = "dev.zt64:dearrow-kt", version.ref = "dearrowkt" }
Make sure to replace x.y.z with the latest version and to add a Ktor engine to your dependencies.
val client = DearrowClient()
val videoId = "dQw4w9WgXcQ"
val branding = client.getBranding(videoId)
// OR = client.getBrandingByHash(videoId)
println(video.titles)
println(video.thumbnails)