Kotlin multiplatform client for the SponsorBlock API. Using Ktor for networking.
[versions]
sbkt = "x.y.z"
[libraries]
sbkt-client = { module = "dev.zt64.sbkt:client", version.ref = "sbkt" }
Make sure to replace x.y.z
with the latest version and to add a Ktor engine to your dependencies.
val sb = SponsorBlockClient()
val videoId = "dQw4w9WgXcQ"
val segments = sb.getSegments(videoId)