From 3e4a4dea553b683b5e3d87cbb534c8a3e60f835a Mon Sep 17 00:00:00 2001 From: seunggabi Date: Thu, 18 May 2023 02:47:46 +0900 Subject: [PATCH] feat: change 1.3.2 -> 1.3.4 --- client/python/upbit/__init__.py | 2 +- client/python/upbit/client.py | 2 +- client/python/upbit/models.py | 5 +++++ client/python/upbit/pkginfo.py | 22 +++++++++++----------- mapper/swg_mapper.json | 2 +- 5 files changed, 19 insertions(+), 14 deletions(-) diff --git a/client/python/upbit/__init__.py b/client/python/upbit/__init__.py index 88e1fae..9dd4656 100644 --- a/client/python/upbit/__init__.py +++ b/client/python/upbit/__init__.py @@ -4,7 +4,7 @@ Please read the official Upbit Client document. Documents: https://ujhin.github.io/upbit-client-docs/ -- Upbit OPEN API Version: 1.3.2 +- Upbit OPEN API Version: 1.3.4 - Author: ujhin - Email: ujhin942@gmail.com - GitHub: https://github.com/uJhin diff --git a/client/python/upbit/client.py b/client/python/upbit/client.py index 3516750..0cb4726 100644 --- a/client/python/upbit/client.py +++ b/client/python/upbit/client.py @@ -11,7 +11,7 @@ class Upbit: - Base URL: https://api.upbit.com - Base Path: /v1 - - Upbit OPEN API Version: 1.3.2 + - Upbit OPEN API Version: 1.3.4 - Author: ujhin - Email: ujhin942@gmail.com - GitHub: https://github.com/uJhin diff --git a/client/python/upbit/models.py b/client/python/upbit/models.py index d30e976..3c92f5e 100644 --- a/client/python/upbit/models.py +++ b/client/python/upbit/models.py @@ -727,6 +727,11 @@ def Withdraw_krw(self, **kwargs) -> dict: :param amount: 출금 원화 수량 :type amount: str + + :param two_factor_type: 주문 종류 (필수) + - kakao_pay : 카카오 페이 (default) + - naver : 네이버 + :type two_factor_type: str """ future = self.__client.Withdraw.Withdraw_krw(**kwargs) diff --git a/client/python/upbit/pkginfo.py b/client/python/upbit/pkginfo.py index 1402ddc..0d32e61 100644 --- a/client/python/upbit/pkginfo.py +++ b/client/python/upbit/pkginfo.py @@ -4,7 +4,7 @@ Please read the official Upbit Client document. Documents: https://ujhin.github.io/upbit-client-docs/ -- Upbit OPEN API Version: 1.3.2 +- Upbit OPEN API Version: 1.3.4 - Author: ujhin - Email: ujhin942@gmail.com - GitHub: https://github.com/uJhin @@ -28,17 +28,17 @@ def _get_versions(package_name): PACKAGE_NAME = "upbit-client" -OPEN_API_VERSION = "1.3.2" +OPEN_API_VERSION = "1.3.4" CURRENT_VERSION = OPEN_API_VERSION+".0" -RELEASED_VERSION = _get_versions(PACKAGE_NAME) -LATEST_VERSION = RELEASED_VERSION[0] +# RELEASED_VERSION = _get_versions(PACKAGE_NAME) +# LATEST_VERSION = RELEASED_VERSION[0] -if LATEST_VERSION != CURRENT_VERSION: - logging.basicConfig(format="[%(levelname)s] %(message)s") - logging.warning( - f"{PACKAGE_NAME} is currently a newer version: {LATEST_VERSION}\n" - f"Please update to the latest version using the pip command:" - f"`pip install --upgrade {PACKAGE_NAME}`" - ) +# if LATEST_VERSION != CURRENT_VERSION: +# logging.basicConfig(format="[%(levelname)s] %(message)s") +# logging.warning( +# f"{PACKAGE_NAME} is currently a newer version: {LATEST_VERSION}\n" +# f"Please update to the latest version using the pip command:" +# f"`pip install --upgrade {PACKAGE_NAME}`" +# ) diff --git a/mapper/swg_mapper.json b/mapper/swg_mapper.json index 0418769..5776cac 100644 --- a/mapper/swg_mapper.json +++ b/mapper/swg_mapper.json @@ -2,7 +2,7 @@ "swagger": "2.0", "info": { "description": "## REST API for Upbit Exchange\n- Base URL: [https://api.upbit.com]\n- Official Upbit API Documents: [https://docs.upbit.com]\n- Official Support email: [open-api@upbit.com]\n", - "version": "1.3.2", + "version": "1.3.4", "title": "Upbit Open API", "contact": { "url": "https://github.com/uJhin",