Skip to content

Korbit-Scala-SDK( w/ Sync APIs )

Pre-release
Pre-release
Compare
Choose a tag to compare
@Kangmo Kangmo released this 05 May 03:25
· 16 commits to master since this release

This is an experimental project. This is not officially supported by Korbit. Use it at your own risk.
This is a pre-release, so the test server(https://api.korbit.co.kr:8080) is supported only.

Now the SDK supports both synchronous and asynchronous interfaces. This new release adds support for synchronous interface using API.sync. Also the asynchronous interface now returns scala.concurrent.Future so that you can use it to return as a web response in Play!.

Sample code can be found here :
https://github.com/Kangmo/korbit-scala-sdk/blob/master/app/controllers/Application.scala

Following operations passed tests :
Authentication : Get an authenticated channel with single user API-key.
API : Get API version
API : Get constants such as minimum amount of BTC you can transfer.
API : Get current price.
API : Get current price and low/high/volume of the recent 24 hours.
API : Get complete orderbook.
API : Get transactions since transaction id 1.
API : Get user information.
API : Get user wallet information.
API : Get transactions of the user.
API : Get open orders of the user.
API : Place a limit order (buy).
API : Place a limit order (sell).
API : Place a market order (buy).
API : Place a market order (sell).
API : Place an order, and cancel it right after it was placed.
API : Place an order, and check the order status right after it was placed.
API : Assign KRW Bank address to which the user can deposit KRW.
API : Register KRW Bank address to which the user can withdraw KRW.
API : Request KRW withdrawal.
API : Assign BTC address to which the user can deposit BTC.
API : Request BTC withdrawal.