Skip to content

Instantly share code, notes, and snippets.

```python
import json
import boto3
regions = [
"us-east-1",
"us-east-2",
"us-west-2",
"ap-northeast-1",
@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