A multi-platform library for interacting with the Sketchware API. At the moment, not all requests have been implemented, but will be added upon request.
Looks like Sketchware have disabled their API. So it's not relevant yet, but maybe the API will still be restored. We are waiting for news.
Let's get a list of the latest moreblocks:
client.getRecentSharedMoreblocks(20, 0).success { list: List<BaseShared> ->
println(list) // successfully loaded
}.error {
// some error occurred
}
Let's get some moreblock comments:
client.getSharedMoreblockDetails(__moreblockId__).success { body: SharedDetails ->
println(body)
}.error {
// an error has occurred
}
build.gradle.kts:
repositories {
maven("https://dl.kotlingang.fun")
}
dependencies {
implementation("io.sketchware.api:SketchwareAPI:1.0.5")
}
For Java, you also need to add the Java wrapper:
repositories {
maven { url 'https://dl.kotlingang.fun' }
}
dependencies {
implementation "io.sketchware.api:SketchwareJavaAPI:1.0.5"
}
You can also check it out.
Below are links to sources where you can contact for questions about the library or just chat ( like @sketchware_community).
- My telegram - @y9neon.
- Sketchware community group - @sketchware_community.