Skip to content

jhrcook/coffee-counter-api

Repository files navigation

Coffee Counter web API

A simple web API for recording my coffee consumption.

python FastAPI
pytest pre-commit Code style: black Checked with mypy

API root: //a7a9ck.deta.dev
Interactive API documentation: //a7a9ck.deta.dev/docs

Uses

SwiftBar Plugin

I have created a SwiftBar plugin that queries the API for the active bags and presents them in a drop-down menu. When one of the labels is tapped, the plugin then registers a use of the bag with the API.

Streamlit web app

I have built a Streamlit web application for visualizing and analyzing the data collected through this API: app | source