Skip to content

Commit

Permalink
feat: change 1.3.2 -> 1.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
seunggabi committed May 17, 2023
1 parent 83c330e commit 3e4a4de
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 14 deletions.
2 changes: 1 addition & 1 deletion client/python/upbit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion client/python/upbit/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions client/python/upbit/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
22 changes: 11 additions & 11 deletions client/python/upbit/pkginfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}`"
# )
2 changes: 1 addition & 1 deletion mapper/swg_mapper.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 3e4a4de

Please sign in to comment.