Skip to content

Instantly share code, notes, and snippets.

@yeagerm
yeagerm / get_profile.py
Created February 27, 2019 23:02 — forked from viq/get_profile.py
Script for getting nightscout profile data
#!/usr/bin/env python
"""
Module to ease work with nightscout profiles.
By default lists all profiles found, and supports following sub-commands:
* profiles - list defined profiles
* display - display named (or default) profile
(in nightscout or OpenAPS format)
* get - save to disk profile in OpenAPS format
"""