{"id":16665865,"url":"https://github.com/morinokami/oura-js","last_synced_at":"2025-06-23T17:03:51.133Z","repository":{"id":57316881,"uuid":"437206999","full_name":"morinokami/oura-js","owner":"morinokami","description":null,"archived":false,"fork":false,"pushed_at":"2022-01-16T08:23:30.000Z","size":184,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-04T19:06:50.927Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/morinokami.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-11T06:32:09.000Z","updated_at":"2021-12-12T16:32:12.000Z","dependencies_parsed_at":"2022-08-25T20:41:06.737Z","dependency_job_id":null,"html_url":"https://github.com/morinokami/oura-js","commit_stats":null,"previous_names":["morinokami/oura.js"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/morinokami/oura-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morinokami%2Foura-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morinokami%2Foura-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morinokami%2Foura-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morinokami%2Foura-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/morinokami","download_url":"https://codeload.github.com/morinokami/oura-js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morinokami%2Foura-js/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260746244,"owners_count":23056481,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T11:09:08.241Z","updated_at":"2025-06-23T17:03:51.093Z","avatar_url":"https://github.com/morinokami.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Oura.js\n\n[Oura Cloud API](https://cloud.ouraring.com/docs/) client with types.\n\n## Installation\n\n```sh\n$ npm install oura-js\n```\n\n## Usage\n\n```js\nimport { Oura } from 'oura-js'\n\n// Access Token: https://cloud.ouraring.com/docs/authentication\nconst token = 'MY_ACCESS_TOKEN'\n\nconst oura = new Oura(token)\nconsole.log(await oura.sleep({ start: '2021-12-10' }))\n```\n\n## API\n\nAPI | Data\n--- | ---\n`userInfo` | [Personal Info](https://cloud.ouraring.com/docs/personal-info)\n`sleep` | [Sleep](https://cloud.ouraring.com/docs/sleep)\n`activity` | [Actibity](https://cloud.ouraring.com/docs/activity)\n`readiness` | [Readiness](https://cloud.ouraring.com/docs/readiness)\n`bedtime` | [Ideal Bedtime](https://cloud.ouraring.com/docs/bedtime)\n\n## Development Status\n\nStatus | HTTP Method | Endpoint | API\n--- | --- | --- | ---\n⚡ | GET | /v1/userinfo | `userInfo`\n⚡ | GET | /v1/sleep | `sleep`\n⚡ | GET | /v1/activity | `activity`\n⚡ | GET | /v1/readiness | `readiness`\n⚡ | GET | /v1/bedtime | `bedtime`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorinokami%2Foura-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorinokami%2Foura-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorinokami%2Foura-js/lists"}