-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
レスポンスのパースについて再検討 #43
Labels
before 1.0.0
This issue should be solved before v1.0.0
breaking
This issue or pull request involves a breaking change
help wanted
Extra attention is needed
Comments
他のライブラリで一般的だと思うが、レスポンスクラスを作ってそこに |
レスポンスクラスに必要なもの
それぞれの取引所向けのデータパース等
|
エラーコード等を統一的に扱いたいが、どうするべきか。 |
Bybit:
Binance (エラー時):
bitFlyer (エラー時、ドキュメントに記載なし):
coincheck(エラー時、ドキュメントに記載なし):
|
現在の generic-api-client は、v0.2 以前のそれぞれの取引所の実装が独立していたときの名残なので、削除しても問題ない。 |
現在の構造ありきではなく、ユーザーの視点からライブラリの構造を考え直したほうがいいかもしれない。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
before 1.0.0
This issue should be solved before v1.0.0
breaking
This issue or pull request involves a breaking change
help wanted
Extra attention is needed
HTTP や WebSocket のレスポンスのパースはもっと一貫性のある洗練されたデザインができそう。
現在の方法だと #12, #37, #40 などの問題がある。
The text was updated successfully, but these errors were encountered: