Socket
Book a DemoInstallSign in
Socket

io.github.jongmin92:upbit-server-mock

Package Overview
Dependencies
Maintainers
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

io.github.jongmin92:upbit-server-mock

Spring Boot Upbit Client Starter

Source
mavenMaven Central
Version
1.0.0
Version published
Maintainers
3
Source
Readme not found for selected version
Showing the latest (latest)

spring-boot-starter-upbit

GitHub release (latest by date) build GitHub

This is an Upbit Open API Client Spring Boot Starter based on the Upbit v1.2.0 reference.

Download

repositories {
    mavenCentral()
}

dependencies {
    implementation("io.github.jongmin92:upbit-service-spring-boot-starter:1.0.0")
}

Usage

Set API Keys

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 }

Interface

This provides services for Sync, Async, and Coroutine interface.

  • UpbitExchangeService provides functionality for the EXCHANGE API.
  • UpbitQuotationService provides functionality for the QUOTATION API.

Sync

@Autowired
lateinit var upbitExchangeService: UpbitExchangeService

@Autowired
lateinit var upbitQuotationService: UpbitQuotationService

Async

return CompletableFuture<T>

@Autowired
lateinit var upbitExchangeAsyncService: UpbitExchangeAsyncService

@Autowired
lateinit var upbitQuotationAsyncService: UpbitQuotationAsyncService

Coroutine

return Deferred<T>

@Autowired
lateinit var upbitExchangeCoroutineService: UpbitExchangeCoroutineService

@Autowired
lateinit var upbitQuotationCoroutineService: UpbitQuotationCoroutineService

License

MIT

FAQs

Package last updated on 11 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts