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

Examples for using QueryStringBuilder #102

Closed
ManfredLange opened this issue Feb 20, 2021 · 2 comments
Closed

Examples for using QueryStringBuilder #102

ManfredLange opened this issue Feb 20, 2021 · 2 comments

Comments

@ManfredLange
Copy link

While generally it shouldn't be too hard to use the QueryStringBuilder, it'd be great if either in the tests or in the wiki (or both?) there would be some examples for how to use the QueryStringBuilder, e.g. for the qsb parameter in IStockPricesService.HistoricalPriceAsync().

Perhaps such examples already exist. Then perhaps adding a link in the README.md or in the wiki (or both?) would be helpful.

Thank you and keep up the good work!

@Matthiee
Copy link
Contributor

If you check the implementation of IStockPricesService you can see some usages of it.

qsb = qsb ?? new QueryStringBuilder();
if (chartByDay)
qsb.Add("chartByDay", "true");

@ManfredLange
Copy link
Author

That provides a starting point. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants