Skip to content

Instantly share code, notes, and snippets.

@moritalous
moritalous / fit_app.py
Created June 21, 2022 12:34
Visualization of heart rate data from Google Fit
import datetime
import json
import os
import matplotlib.pyplot as plt
import pandas as pd
from google.auth.transport.requests import Request
from google.oauth2.credentials import Credentials
from google_auth_oauthlib.flow import InstalledAppFlow
from googleapiclient.discovery import build