Skip to content

Latest commit

 

History

History

rust

Rust API client for swagger

REST API for Upbit Exchange - Base URL: [https://api.upbit.com] - Official Upbit API Documents: [https://docs.upbit.com] - Official Support email: [[email protected]]

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.RustClientCodegen For more information, please visit https://github.com/uJhin

Installation

Put the package under your project folder and add the following in import:

    "./swagger"

Documentation for API Endpoints

All URIs are relative to https://api.upbit.com/v1

Class Method HTTP request Description
APIKeyApi a_pi_key_info Get /api_keys API 키 리스트 조회
AccountApi account_info Get /accounts 전체 계좌 조회
AccountApi account_wallet Get /status/wallet 입출금 현황
CandleApi candle_days Get /candles/days 시세 캔들 조회 (일 단위)
CandleApi candle_minutes Get /candles/minutes/{unit} 시세 캔들 조회 (분 단위)
CandleApi candle_month Get /candles/months 시세 캔들 조회 (월 단위)
CandleApi candle_weeks Get /candles/weeks 시세 캔들 조회 (주 단위)
DepositApi deposit_coin_address Get /deposits/coin_address 개별 입금 주소 조회
DepositApi deposit_coin_addresses Get /deposits/coin_addresses 전체 입금 주소 조회
DepositApi deposit_generate_coin_address Post /deposits/generate_coin_address 입금 주소 생성 요청
DepositApi deposit_info Get /deposit 개별 입금 조회
DepositApi deposit_info_all Get /deposits 입금 리스트 조회
MarketApi market_info_all Get /market/all 마켓 코드 조회
OrderApi order_cancel Delete /order 주문 취소 접수
OrderApi order_chance Get /orders/chance 주문 가능 정보
OrderApi order_info Get /order 개별 주문 조회
OrderApi order_info_all Get /orders 주문 리스트 조회
OrderApi order_new Post /orders 주문하기
OrderApi order_orderbook Get /orderbook 시세 호가 정보(Orderbook) 조회
TradeApi trade_ticker Get /ticker 시세 Ticker 조회
TradeApi trade_ticks Get /trades/ticks 시세 체결 조회
WithdrawApi withdraw_chance Get /withdraws/chance 출금 가능 정보
WithdrawApi withdraw_coin Post /withdraws/coin 코인 출금하기
WithdrawApi withdraw_info Get /withdraw 개별 출금 조회
WithdrawApi withdraw_info_all Get /withdraws 출금 리스트 조회
WithdrawApi withdraw_krw Post /withdraws/krw 원화 출금하기

Documentation For Models

Documentation For Authorization

Bearer

  • Type: API key

Example

	auth := context.WithValue(context.TODO(), sw.ContextAPIKey, sw.APIKey{
		Key: "APIKEY",
		Prefix: "Bearer", // Omit if not necessary.
	})
    r, err := client.Service.Operation(auth, args)

Author

[email protected]