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

Refactor shard-id into a parameter to support new API semantics #6

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

redbeardymcgee
Copy link
Contributor

This should address the problem with #2. It does introduce a breaking change, but I consider this to be worthwhile until an official tagged and versioned release of this library is produced.

With a couple more changes and a full test suite, I think that could be achieved as well.

`api-url` is currently modified to temporarily test without other
intrusive changes to calling conventions. Issue cjsauer#2 describes what the
main issue seems to be, but fixing this is out of scope of the current
goal.
Platform and region are incompatible parameters now. API expects
either a platform, or combined platform-region, as a shard route. Some
endpoints expect a platform, others expect a platform-region.
@redbeardymcgee
Copy link
Contributor Author

I don't understand why the ranked stats support got smashed inside this pull request as well. I'd like to yoink those back out but I am obviously not git-fluent yet.

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

Successfully merging this pull request may close these issues.

1 participant