Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Query params follow the structure
?first_param=something&second_param=123&third_param...
. Only ifshow_icons
is not the first param sent should you have&
. Otherwise, you have to use?
. Order doesn't matter when sending query params, so if someone decides to haveshow_icons
before the other params (or as the only param), then it doesn't need the&
. Because of this ambiguity, documentation usually doesn't include?
and&
and only mentions the param. Please feel free to reply if you have any questions.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just realized that all the other params in the README have been written with a
&
, so unless you're willing to change all the params, adding a&
toshow_icons
would probably be the way to go. My bad, sorry!There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes! The first param probably would be the username, so I think it is ok to include the "&" in every optional param.