Skip to content

0.7.0

Compare
Choose a tag to compare
@Pinta365 Pinta365 released this 08 Aug 14:55
· 11 commits to main since this release

Quite a large refactor of the code base as well as helper functions to simplify OAuth2 usage.

Breaking changes

The data fetching functions like for example getDailyActivityDocuments, getDailyReadinessDocuments etc, that returns an array of documents now only return the data array object and not the complete return object. Paginated responses will be resolved before they are returned to the user.

Before:
{ "data": [ {}, {}, {} ], "next_token": "string" }
After:
[ {}, {}, {} ]

See example codes for more info.

New features

  • A new OuraOAuth class containing helper functions to simplify OAuth2 usage.
  • Adding Cardiovascular Age routes
  • Adding VO2 Max routes
  • Example files to show case using a Personal Access Token, OAuth2 and the Sandbox environment.

Full Changelog: 0.6.0...0.7.0