Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 806 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 806 Bytes

Oura Ring API ETL

The Oura Ring is a powerful sleep and activity tracker. This project uses the Oura Ring API to load all of the previous day's sleep, readiness, and activity data, and stores it in a custom data warehouse.

Installation

Note that this project requires Python 3.

Installing prerequisites

virtualenv env
source env/bin/activate
pip install -r requirements.txt

Set up the data warehouse

The included file setup_tables.sql contains SQL commands for creating database tables that can store Oura data. Note that it uses some features specific to PostgreSQL.

Create a launch script

Fill in the information in run_etl.sh, which involves your Oura and database credentials.

Usage

./run_etl.sh