How to use the Oura Ring Api | Quantified Self Through Python

  Рет қаралды 2,997

DevXplaining

DevXplaining

Күн бұрын

Пікірлер: 19
@dn2443
@dn2443 10 ай бұрын
I love your videos-please make more! I recently got an aura ring, and your videos really helped me orient to its capabilities. I was very excited to play with the SPO2 and temperature data and am very disappointed with the granularity in terms of what is available for those data points. Just curious if you were able to overcome this barrier, and or what you would recommend for an inspiring developer such as myself.
@DevXplaining
@DevXplaining 10 ай бұрын
Oh thank you, much appreciated! Feedback like this definitely inspires me to create more. Yeah, two problems with Oura data is that it's not real-time for performance reasons, and granularity for some datapoints is very sparse, sleep scores being another tough area because you only get them after, and some of them accumulate through the night. That's kind of by design, to conserve energy. I don't remember the granularity of SPO2/temperature, but I don't have any special tricks to overcome. I tend to treat the data based on what granularity/latency I get, aka: Typically just zoom out and get a wider view. On a sidenote, I am suprised that my Oura 3 is still alive and kicking well, previous one died early for battery issues, this one is up and running. For inspiration, here's my view for Oura data. If you just want to analyze it, Oura software and dashboard already does pretty good job in calculating the scores and showing the history. What was interesting for me, was to figure out how to combine that data with other sources, for example compare my heart rate/heart rate recovery against my daily or weekly schedule, my sleep schedule, music I am listening, etc.
@williamjarrold3547
@williamjarrold3547 Жыл бұрын
Would love to see any work on the coffee project you mentioned! I suppose a key challenge would be automatically tracking coffee intake.
@DevXplaining
@DevXplaining Жыл бұрын
Haha, true. One could just be a creature of habit and enjoy their coffee in predictable schedule.. But where's the fun in that when you can instead invent another IoT tracking device! :)
@furiousbh2971
@furiousbh2971 2 жыл бұрын
thanks for the video, I need to do this for a group for our school project but I have literally 0 experience with programming or APIs or anything.
@DevXplaining
@DevXplaining 2 жыл бұрын
Hi, good to hear, I hope this is a useful start! Oura data is much fun, and with the Jupyter notebooks it's easy to get started. I have a few videos on this channel also on how to set up Python, and how to set up Jupyter, but they are quite easy anyway.
@taoofstefan
@taoofstefan Жыл бұрын
any chance you making more coding video about the Oura ring?
@DevXplaining
@DevXplaining Жыл бұрын
Not planning right now, but thanks for the request! Happy to know it interests you!
@matteo84D
@matteo84D 2 жыл бұрын
have you tried v2? i have hard time to get the HR from V2
@DevXplaining
@DevXplaining 2 жыл бұрын
Oh yes, just so happens I included a v2 call with heartrate in the github repo, here: github.com/crystoll/oura-ring/blob/main/oura-api/oura_api_v2.py This works for me, I get a lot of heartrate data :)
@furiousbh2971
@furiousbh2971 2 жыл бұрын
Could you do a video showing how to do this with Oauth2?
@DevXplaining
@DevXplaining 2 жыл бұрын
Hi, that gets a bit more involved and requires me to dive in deeper, so I've been thinking I need more shows of interest to dive into that. OAuth flow itself is not that bad. But the main challenge is you need to set up and host a server yourself, and then we get to question: What kind of server, where, how? So it would be a long video, and if I show one way it might be useless for someone who needs to do it differently. But request noted, I'll keep this in mind, if there are more interesting people/views, why not.. But not in the near future at least. But, some good news: I found at least one video on the topic, might be good to start there. kzbin.info/www/bejne/bmikkqmQmZyUpLM
@twkarches
@twkarches 2 жыл бұрын
Could someone build a free app that accessed data via the API?
@DevXplaining
@DevXplaining 2 жыл бұрын
Yes, the code that I use here uses a simple token authentication model, that allows me to access my own data, and that's it. But Oura also allows an OAuth2 application, which would allow any user to log in, and permit the application to access their data. There are some apps that integrate Oura data with other data already that do this. It is a bit more involved with callbacks but not that much. Most of them are not free, however. I think it would make most sense once you have something else to integrate with Oura data. Here they go through the authentication models and details: cloud.ouraring.com/docs/authentication
Don't buy an Oura ring until you see this 💍️
10:10
Jonny & Yusef - Propanefitness
Рет қаралды 285 М.
Война Семей - ВСЕ СЕРИИ, 1 сезон (серии 1-20)
7:40:31
Семейные Сериалы
Рет қаралды 1,6 МЛН
15 Python Libraries You Should Know About
14:54
ArjanCodes
Рет қаралды 411 М.
7 Outside The Box Puzzles
12:16
MindYourDecisions
Рет қаралды 88 М.
The Problem With The Oura Ring
7:34
Balancing Laura
Рет қаралды 145 М.
Oura Ring Without Subscription? Don't Bother!
9:00
Red Light Therapy by Alex Fergus
Рет қаралды 25 М.
I'm CANCELING my Whoop Membership.
11:10
Austin Kohler
Рет қаралды 101 М.
1,000 Days with the Oura Ring. It Changed My Life
8:29
Shervin Shares
Рет қаралды 80 М.
Война Семей - ВСЕ СЕРИИ, 1 сезон (серии 1-20)
7:40:31
Семейные Сериалы
Рет қаралды 1,6 МЛН