{"repo":"hedgertronic/oura-ring","free":true,"listed":false,"github":"https://github.com/hedgertronic/oura-ring","clone":"git clone https://github.com/hedgertronic/oura-ring.git","description":"Python client for the Oura API v2 with OAuth2 support.","language":"Python","stars":89,"topics":["oura","oura-api-v2","oura-cloud-api","oura-ring","python","api-client","health-data","oauth2","wearable"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Oura Ring for Python Python client for the Oura API v2 with OAuth2 support. Oura is a wearable ring for monitoring sleep, activity, and workouts. Contents - Installation - Getting Started - API Requests - Get Personal Info - Get Daily Sleep - Get Daily SpO2 - Get Daily Stress - Get Daily Activity - Get Daily Readiness - Get Daily Resilience - Get Daily Cardiovascular Age - Get VO2 Max - Get Enhanced Tag - Get Heart Rate - Get Ring Battery Level - Get Ring Configuration - Get Rest Mode Period - Get Sleep Periods - Get Sleep Time - Get Sessions - Get Tags - Get Workouts - Usage With DataFrame Installation The oura ring module can be installed via pip: pip install oura-ring Or, using uv : uv add oura-ring Getting Started Note : Personal access tokens were deprecated by Oura in December 2025 — new ones can no longer be created, though previously-issued tokens may still work. New integrations must use OAuth2. OAuth2 (recommended) Create an application in Oura's developer portal to obtain a client id and client secret . Use OuraAuth to run the Authorization Code flow: When the access token expires, refresh it with the refresh token: Important : Refresh tokens are single-use . The refresh response returns a new refresh token that you must persist — the old one is invalidated, so the next refresh will fail if you don't store the new value. Refreshing on demand The client does not refresh automatically — it raises requests.HTTPError when a token has expired (HTTP 401). Catch that, ref","default_branch":null,"files":null,"tree":[],"storefront":"/r/hedgertronic","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hedgertronic/oura-ring/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}