https://github.com/matsubara0507/servant-kotlin
Automatically derive Kotlin functions to query servant webservices
https://github.com/matsubara0507/servant-kotlin
haskell haskell-library haskell-servant kotlin servant-client
Last synced: 12 months ago
JSON representation
Automatically derive Kotlin functions to query servant webservices
- Host: GitHub
- URL: https://github.com/matsubara0507/servant-kotlin
- Owner: matsubara0507
- License: mit
- Created: 2017-10-17T15:31:32.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-09-04T12:28:20.000Z (almost 7 years ago)
- Last Synced: 2025-04-22T22:35:13.577Z (about 1 year ago)
- Topics: haskell, haskell-library, haskell-servant, kotlin, servant-client
- Language: Haskell
- Size: 63.5 KB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Servant Kotlin
[](https://hackage.haskell.org/package/servant-kotlin)
[](https://travis-ci.org/matsubara0507/servant-kotlin)
[](http://stackage.org/lts/package/servant-kotlin)
[](http://stackage.org/nightly/package/servant-kotlin)
Generate Kotlin class to query your Servant API!
## Example
see [`example/Generater.hs`](/example/Generater.hs).
this file generate [`TodoAPI.kt`](/example/com/github/matsubara0507/TodoAPI.kt).
## dependencies for Kotlin
- [kittinunf/Fuel](https://github.com/kittinunf/Fuel): The easiest HTTP networking library for Kotlin/Android
- [google/gson](https://github.com/google/gson): A Java serialization/deserialization library to convert Java Objects into JSON and back
## not yet, no Implements
- [ ] Original QueryFlag
- [ ] Original Header
## Acknowledgement
This package is greatly inspired by [`elm-export`](https://hackage.haskell.org/package/elm-export) and [`servant-elm`](https://hackage.haskell.org/package/servant-elm).