Skip to content
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

apisをJSON形式のファイルオープンに対応する #30

Closed
3 tasks done
MtkN1 opened this issue Apr 17, 2021 · 0 comments
Closed
3 tasks done

apisをJSON形式のファイルオープンに対応する #30

MtkN1 opened this issue Apr 17, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@MtkN1
Copy link
Member

MtkN1 commented Apr 17, 2021

課題

  • pybotters.Clientの__init__コンストラクタの引数apisは現在辞書のみ受けいれている
  • apisはユーザーはコード内に記載するか、自らファイルオープンしなければならない

実装

  • 引数apisで新たに文字列(ファイルパス)を受け入れる
  • 辞書または文字列分岐させ、ファイルオープンしてapisを読み込む
  • Wikiを更新する

検討事項

  • エンコーディングはどうするか
    • UTF-8固定とする
    • 依存ライブラリにchardetを追加する

👉APIキー・シークレットはASCIIで表現される想定なのでエンコーディングは指定しないことにした

@MtkN1 MtkN1 added the enhancement New feature or request label Apr 17, 2021
@MtkN1 MtkN1 self-assigned this Apr 17, 2021
MtkN1 added a commit that referenced this issue Apr 18, 2021
✨v0.1.1リリース

#23 WebSocket接続時に複数回リクエストに対応した(bitFlyerなどで複数チャンネルが購読に対応した)
#28 BybitデータストアのREST API経由の初期化に対応した
#29 リクエストメソッドのkwargsに対応した
#30 apisをJSON形式のファイルオープンに対応した
@MtkN1 MtkN1 closed this as completed Apr 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant