Skip to content

Fix /heartrate query parameters #57

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

Merged

Conversation

hexponent
Copy link
Contributor

/heartrate endpoint has slightly different query paramaters, so here I make adjustment for that

Also, if timestamp includes timezone info, which is separated by +, e.g. 2024-04-07T07:22:48+00:00, then in url it is considered as space, so we need to escape it. That's exactly what urlencode does. BTW it is the same function that requests use for escaping characters as well

@hexponent
Copy link
Contributor Author

hexponent commented Apr 7, 2024

@turing-complet Please review.
Also, it is the last PR for now, so please make a release after that

@turing-complet
Copy link
Owner

Thanks, LGTM. I'll try to get a release out soon.

@turing-complet turing-complet merged commit 443bd12 into turing-complet:dev Apr 21, 2024
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.

2 participants