-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
27 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: [email protected] | ||
- GitHub: https://github.com/uJhin | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: [email protected] | ||
- GitHub: https://github.com/uJhin | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: [email protected] | ||
- 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}`" | ||
# ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: [[email protected]]\n", | ||
"version": "1.3.2", | ||
"version": "1.3.4", | ||
"title": "Upbit Open API", | ||
"contact": { | ||
"url": "https://github.com/uJhin", | ||
|
@@ -815,6 +815,13 @@ | |
"description": "출금 원화 수량\n", | ||
"required": true, | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "two_factor_type", | ||
"in": "formData", | ||
"description": "2차 인증 수단 (optional)\n", | ||
"required": false, | ||
"type": "string" | ||
} | ||
], | ||
"responses": { | ||
|