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]

# Functions

CacheExpires helper function to determine remaining time before repeating a request.
NewAPIClient creates a new API client.
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

ContextAccessToken takes a string oauth2 access token as authentication for the request.
ContextAPIKey takes an APIKey as authentication for the request.
ContextBasicAuth takes BasicAuth as authentication for the request.
ContextOAuth2 takes a oauth2.TokenSource as authentication for the request.

# Structs

사용자의 계좌 정보.
APIClient manages communication with the Upbit Open API API v1.0.0 In most cases there should be only one, shared, APIClient.
No description provided by the author
APIKey provides API key based authentication to a request passed via context using ContextAPIKey.
No description provided by the author
매도 시 제약사항.
매도 시 사용하는 화폐의 계좌 상태.
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth.
매수 시 제약사항.
매수 시 사용하는 화폐의 계좌 상태.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
화폐 정보.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Error 상세 정보.
GenericSwaggerError Provides access to the body, error and model on returned errors.
마켓에 대한 정보.
No description provided by the author
No description provided by the author
사용자의 보안등급 정보.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
출금 제약 정보.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author