We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
v0.3.0の生成ドキュメントを見てもらうと、API・Builer・Responseが冗長に並んでいる。
https://docs.rs/zaif-api/0.3.0/zaif_api/public_api/index.html
いざドキュメントを書いたとして、これでは読み手がたらい回しになる気がしている。 currenciesひとつとっても、どの構造体のドキュメントを見に行けばBuilderの組み立て、実行、結果の使用方法が分かるのか悩んでしまうと考えている。
内部的にはAPIひとつにつきモジュールがひとつ切ってあるのだから、zaif_api::public_api::currencies::{Caller, Builder, Response}のように整理してしまっても良いのではなかろうか。
zaif_api::public_api::currencies::{Caller, Builder, Response}
zaif_api::public_apiの配下には、各Builderへのショートカットになるfunctionがあればいいと思う。
zaif_api::public_api
あるいはファクトリを用意するか。毎回AccessToken.clone()するのも面倒だし、UserAgentだって共有して楽したい場面もあるだろうし。
AccessToken.clone()
UserAgent
The text was updated successfully, but these errors were encountered:
Trade TradeBuilder TradeHistory TradeHistoryBuilder TradeHistoryResponse TradeResponse https://docs.rs/zaif-api/0.5.0/zaif_api/trade_api/index.html
Trade TradeBuilder TradeHistory TradeHistoryBuilder TradeHistoryResponse TradeResponse
https://docs.rs/zaif-api/0.5.0/zaif_api/trade_api/index.html
この並び方はもうアウトですね。
Sorry, something went wrong.
yajamon
No branches or pull requests
v0.3.0の生成ドキュメントを見てもらうと、API・Builer・Responseが冗長に並んでいる。
https://docs.rs/zaif-api/0.3.0/zaif_api/public_api/index.html
いざドキュメントを書いたとして、これでは読み手がたらい回しになる気がしている。
currenciesひとつとっても、どの構造体のドキュメントを見に行けばBuilderの組み立て、実行、結果の使用方法が分かるのか悩んでしまうと考えている。
内部的にはAPIひとつにつきモジュールがひとつ切ってあるのだから、
zaif_api::public_api::currencies::{Caller, Builder, Response}
のように整理してしまっても良いのではなかろうか。zaif_api::public_api
の配下には、各Builderへのショートカットになるfunctionがあればいいと思う。あるいはファクトリを用意するか。毎回
AccessToken.clone()
するのも面倒だし、UserAgent
だって共有して楽したい場面もあるだろうし。The text was updated successfully, but these errors were encountered: