Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork0
Storyblok Kotlin Multiplatform SDK (Android, JVM, JS, iOS, ...)
License
mikepenz/storyblok-mp-SDK
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
... a Storyblok Client SDK written using Kotlin Multiplatform. (Android, JVM, JS, iOS, ...)
What's included 🚀 •About Storyblok •Setup 🛠️ •Usage 🛠️ •License 📓
- Super simple setup
- Cross-platform ready
- Lightweight
Multiplatform
For multiplatform projects specify this single dependencyviaMaven Central:
dependencies { implementation("com.mikepenz:storyblok-mp-sdk:${version}")}JVM
To use the Storyblok SDK on JVM, you have to include:
dependencies { implementation("com.mikepenz:storyblok-mp-sdk-jvm:${version}")}Android
For Android a special dependency is provided:
dependencies { implementation("com.mikepenz:storyblok-mp-sdk-android:${version}")}iOS
For iOS you will have to use the Kotlin Nativesupportand use the following dependency:
dependencies { implementation("com.mikepenz:storyblok-mp-sdk-ios:${version}")}JS
For JS (node-js) applications you will have to use the KotlinJSsupportand the following dependency:
dependencies { implementation("com.mikepenz:storyblok-mp-sdk-js:${version}")}val client=Storyblok("your-storyblok-token")
This Kotlin multi platform library uses Kotlin coroutines for the requests (similar to the ktorAPI).All fetch methods are suspending functions, and need to be called respectively.
client.fetchStory("full_slug:id:uuid")// All Storyblok params are supported, see javadoc for more information
client.fetchStories()// All Storyblok params are supported, see javadoc for more informationclient.fetchCurrentSpace()
client.fetchDatasources()// All Storyblok params are supported, see javadoc for more informationclient.fetchDatasourceEntries()// All Storyblok params are supported, see javadoc for more informationclient.fetchLinks()// All Storyblok params are supported, see javadoc for more informationclient.fetchTags()// All Storyblok params are supported, see javadoc for more informationMike Penz:
- AboutLibrarieshttps://github.com/mikepenz/AboutLibraries
This free, open source software was also made possible by a group of volunteers that put many hoursof hard work into it. See theCONTRIBUTORS.md file for details.
Copyright 2025 Mike PenzLicensed under the Apache License, Version 2.0 (the "License");you may not use this file except in compliance with the License.You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.About
Storyblok Kotlin Multiplatform SDK (Android, JVM, JS, iOS, ...)
Topics
Resources
License
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.