Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate Google Health Data #29

Open
pu-re opened this issue Feb 10, 2025 · 0 comments
Open

Integrate Google Health Data #29

pu-re opened this issue Feb 10, 2025 · 0 comments
Labels
good first issue Good for newcomers

Comments

@pu-re
Copy link
Contributor

pu-re commented Feb 10, 2025

Establish a connection with Google Health to allow users to import and manage their health data seamlessly within the platform.

@pu-re pu-re added the good first issue Good for newcomers label Feb 10, 2025
HendricksJudy added a commit to HendricksJudy/open-health that referenced this issue Feb 13, 2025
Related to OpenHealthForAll#29

Add integration with Google Health to allow users to import and manage their health data.

* **API Endpoint**: Add `src/app/api/google-health/route.ts` to handle Google Health data import with GET and POST methods.
* **OAuth2 Authentication**: Add `src/lib/google-health/auth.ts` to implement OAuth2 authentication flow for Google Health API, including token exchange and refresh functions.
* **Data Fetching and Parsing**: Add `src/lib/google-health/data.ts` to fetch and parse health data from Google Health API, and implement a placeholder function to save imported health data to the database.
* **UI Update**: Modify `src/components/source/source-add-screen.tsx` to include an option for importing data from Google Health, and implement functions to handle the import process and update the state.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant