kmp-api-services
CommunityKMP API services with type-safe DTOs.
Authorniltsiar
Version1.0.0
Installs0
System Documentation
What problem does it solve?
API service patterns for Kotlin Multiplatform using Ktor to keep remote APIs structured, testable, and decoupled from domain models.
Core Features & Use Cases
- API service boundaries: API services return raw DTOs for network calls; repositories handle mapping and error handling.
- DTO design & serialization: Use @Serializable with @SerialName for request/response DTOs and provide asDomain() mappings.
- Ktor client configuration: Centralized setup for JSON serialization, timeouts, and logging, with DI integration.
- Use Cases: Create feature modules that define API contracts and map them into domain models for repositories.
Quick Start
Create a new API service using Ktor, define DTOs for requests/responses, and wire it into the repository.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: kmp-api-services Download link: https://github.com/niltsiar/kotlin_multiplatform_pokedex/archive/main.zip#kmp-api-services Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.