package
0.0.0-20240717103524-fda510ba7854
Repository: https://github.com/ujhin/upbit-client.git
Documentation: pkg.go.dev

# README

Go 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.GoClientCodegen For more information, please visit https://github.com/uJhin

Installation

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

import "./swagger"

Documentation for API Endpoints

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

ClassMethodHTTP requestDescription
APIKeyApiAPIKeyInfoGet /api_keysAPI 키 리스트 조회
AccountApiAccountInfoGet /accounts전체 계좌 조회
AccountApiAccountWalletGet /status/wallet입출금 현황
CandleApiCandleDaysGet /candles/days시세 캔들 조회 (일 단위)
CandleApiCandleMinutesGet /candles/minutes/{unit}시세 캔들 조회 (분 단위)
CandleApiCandleMonthGet /candles/months시세 캔들 조회 (월 단위)
CandleApiCandleWeeksGet /candles/weeks시세 캔들 조회 (주 단위)
DepositApiDepositCoinAddressGet /deposits/coin_address개별 입금 주소 조회
DepositApiDepositCoinAddressesGet /deposits/coin_addresses전체 입금 주소 조회
DepositApiDepositGenerateCoinAddressPost /deposits/generate_coin_address입금 주소 생성 요청
DepositApiDepositInfoGet /deposit개별 입금 조회
DepositApiDepositInfoAllGet /deposits입금 리스트 조회
MarketApiMarketInfoAllGet /market/all마켓 코드 조회
OrderApiOrderCancelDelete /order주문 취소 접수
OrderApiOrderChanceGet /orders/chance주문 가능 정보
OrderApiOrderInfoGet /order개별 주문 조회
OrderApiOrderInfoAllGet /orders주문 리스트 조회
OrderApiOrderNewPost /orders주문하기
OrderApiOrderOrderbookGet /orderbook시세 호가 정보(Orderbook) 조회
TradeApiTradeTickerGet /ticker시세 Ticker 조회
TradeApiTradeTicksGet /trades/ticks시세 체결 조회
WithdrawApiWithdrawChanceGet /withdraws/chance출금 가능 정보
WithdrawApiWithdrawCoinPost /withdraws/coin코인 출금하기
WithdrawApiWithdrawInfoGet /withdraw개별 출금 조회
WithdrawApiWithdrawInfoAllGet /withdraws출금 리스트 조회
WithdrawApiWithdrawKrwPost /withdraws/krw원화 출금하기

Documentation For Models

Documentation For Authorization

Bearer

  • Type: API key

Example

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

Author

[email protected]