This is an Upbit Open API Client Spring Boot Starter based on the Upbit v1.2.0 reference.
repositories {
mavenCentral()
}
dependencies {
implementation("io.github.jongmin92:upbit-service-spring-boot-starter:1.0.0")
}
To use it, must issue an API key from 마이페이지 - Open API 관리.
And set the issued API key on application.yml(properties)
.
upbit:
client:
access-key: { accessKey }
secret-key: { secretKey }
This provides services for Sync, Async, and Coroutine interface.
UpbitExchangeService
provides functionality for theEXCHANGE API
.UpbitQuotationService
provides functionality for theQUOTATION API
.
@Autowired
lateinit var upbitExchangeService: UpbitExchangeService
@Autowired
lateinit var upbitQuotationService: UpbitQuotationService
return CompletableFuture<T>
@Autowired
lateinit var upbitExchangeAsyncService: UpbitExchangeAsyncService
@Autowired
lateinit var upbitQuotationAsyncService: UpbitQuotationAsyncService
return Deferred<T>
@Autowired
lateinit var upbitExchangeCoroutineService: UpbitExchangeCoroutineService
@Autowired
lateinit var upbitQuotationCoroutineService: UpbitQuotationCoroutineService