This repo contains an OpenAPIv3 schema definition for OuraRing
OuraRing API documentation https://cloud.ouraring.com/docs/
Client generation is done using https://github.com/deepmap/oapi-codegen
To regenerate the client, run the command
oapi-codegen --package ouraring ouraring_openapi.yaml > ouraring.gen.go
At this time, the schema definition is not complete.
If there is data which you would like to fetch but it is not available, consider adding it to the schema definition and regenerating the client.
Get your personal access token from AuraRing https://cloud.ouraring.com/personal-access-tokens
export OURA_ACCESS_TOKEN="YOUR_PERSONAL_ACCESS_TOKEN"
go run example/main.go
Should fetch your activity score for today:
Activity Score: 81