Skip to content

Commit 112c915

Browse files
committed
feat: change 1.3.2 -> 1.3.4
1 parent 83c330e commit 112c915

File tree

5 files changed

+27
-15
lines changed

5 files changed

+27
-15
lines changed

client/python/upbit/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Please read the official Upbit Client document.
55
Documents: https://ujhin.github.io/upbit-client-docs/
66
7-
- Upbit OPEN API Version: 1.3.2
7+
- Upbit OPEN API Version: 1.3.4
88
- Author: ujhin
99
- Email: ujhin942@gmail.com
1010
- GitHub: https://github.com/uJhin

client/python/upbit/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class Upbit:
1111
1212
- Base URL: https://api.upbit.com
1313
- Base Path: /v1
14-
- Upbit OPEN API Version: 1.3.2
14+
- Upbit OPEN API Version: 1.3.4
1515
- Author: ujhin
1616
- Email: ujhin942@gmail.com
1717
- GitHub: https://github.com/uJhin

client/python/upbit/models.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99
HOST = "https://api.upbit.com"
10-
SPEC_URI = "https://raw.githubusercontent.com/uJhin/upbit-client/main/mapper/swg_mapper.json"
10+
SPEC_URI = "https://raw.githubusercontent.com/seunggabi/upbit-client/main/mapper/swg_mapper.json"
1111

1212

1313
class ClientModel:
@@ -727,6 +727,11 @@ def Withdraw_krw(self, **kwargs) -> dict:
727727
728728
:param amount: 출금 원화 수량
729729
:type amount: str
730+
731+
:param 2차 인증 수단 (optional)
732+
- kakao_pay : 카카오 페이 (default)
733+
- naver : 네이버
734+
:type two_factor_type: str
730735
"""
731736

732737
future = self.__client.Withdraw.Withdraw_krw(**kwargs)

client/python/upbit/pkginfo.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Please read the official Upbit Client document.
55
Documents: https://ujhin.github.io/upbit-client-docs/
66
7-
- Upbit OPEN API Version: 1.3.2
7+
- Upbit OPEN API Version: 1.3.4
88
- Author: ujhin
99
- Email: ujhin942@gmail.com
1010
- GitHub: https://github.com/uJhin
@@ -28,17 +28,17 @@ def _get_versions(package_name):
2828

2929
PACKAGE_NAME = "upbit-client"
3030

31-
OPEN_API_VERSION = "1.3.2"
31+
OPEN_API_VERSION = "1.3.4"
3232
CURRENT_VERSION = OPEN_API_VERSION+".0"
3333

34-
RELEASED_VERSION = _get_versions(PACKAGE_NAME)
35-
LATEST_VERSION = RELEASED_VERSION[0]
34+
# RELEASED_VERSION = _get_versions(PACKAGE_NAME)
35+
# LATEST_VERSION = RELEASED_VERSION[0]
3636

3737

38-
if LATEST_VERSION != CURRENT_VERSION:
39-
logging.basicConfig(format="[%(levelname)s] %(message)s")
40-
logging.warning(
41-
f"{PACKAGE_NAME} is currently a newer version: {LATEST_VERSION}\n"
42-
f"Please update to the latest version using the pip command:"
43-
f"`pip install --upgrade {PACKAGE_NAME}`"
44-
)
38+
# if LATEST_VERSION != CURRENT_VERSION:
39+
# logging.basicConfig(format="[%(levelname)s] %(message)s")
40+
# logging.warning(
41+
# f"{PACKAGE_NAME} is currently a newer version: {LATEST_VERSION}\n"
42+
# f"Please update to the latest version using the pip command:"
43+
# f"`pip install --upgrade {PACKAGE_NAME}`"
44+
# )

mapper/swg_mapper.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"swagger": "2.0",
33
"info": {
44
"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",
5-
"version": "1.3.2",
5+
"version": "1.3.4",
66
"title": "Upbit Open API",
77
"contact": {
88
"url": "https://github.com/uJhin",
@@ -815,6 +815,13 @@
815815
"description": "출금 원화 수량\n",
816816
"required": true,
817817
"type": "string"
818+
},
819+
{
820+
"name": "two_factor_type",
821+
"in": "formData",
822+
"description": "2차 인증 수단 (optional)\n",
823+
"required": false,
824+
"type": "string"
818825
}
819826
],
820827
"responses": {

0 commit comments

Comments
 (0)