Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 861 Bytes

README.md

File metadata and controls

44 lines (30 loc) · 861 Bytes

Lambda

Overview

  • Use SSM to retrive auth token and handle refresh token
  • Get stats from Strava Api
  • Generate html with inline styling for stats with Jinja2 template
  • Use SES to send a summary email

API Example

Activity Response

Install

VirtualEnv

python3 -m venv env
source env/bin/activate

Install packages

pip install -r ./requirements-dev.txt

Run

python exanple_email.py

Tests

pytest