An open API service indexing awesome lists of open source software.

https://github.com/bcongdon/beeminder-to-sqlite

Export your Beeminder data to SQLite
https://github.com/bcongdon/beeminder-to-sqlite

beeminder datasette datasette-io dogsheep

Last synced: 10 months ago
JSON representation

Export your Beeminder data to SQLite

Awesome Lists containing this project

README

          

# beeminder-to-sqlite

[![PyPI](https://img.shields.io/pypi/v/beeminder-to-sqlite.svg)](https://pypi.org/project/beeminder-to-sqlite/)
[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/bcongdon/beeminder-to-sqlite/blob/master/LICENSE)

Save data from [Beeminder](https://www.beeminder.com/) to a SQLite database.
Supports saving goal data and data points.

## How to install

$ pip install beeminder-to-sqlite

## Authentication

Run the following command and enter your beeminder personal auth token:

$ beeminder-to-sqlite auth

This will create a file called `auth.json` in your current directory containing
the required value. To save the file at a different path or filename, use the
`--auth=myauth.json` option.

## Usage

After you've setup your authentication, you can use the following commend to
download and save your Beeminder data:

$ beeminder-to-sqlite goals beeminder.db

More detailed help can be found by running the command with `--help`

$ beeminder-to-sqlite --help

## Attribution

This package is heavily inspired by
[goodreads-to-sqlite](https://github.com/rixx/goodreads-to-sqlite/) by
[Tobias Kunze ](https://github.com/rixx) and
[github-to-sqlite](https://github.com/dogsheep/github-to-sqlite/) by
[Simon Willison](https://simonwillison.net/2019/Oct/7/dogsheep/).

This package was designed to fit nicely in the
[dogsheep](https://dogsheep.github.io/) /
[datasette](https://github.com/simonw/datasette) ecosystems.