~goorzhel/beancount-steam

Beancount importer for Steam wallet
0020883d — Antonio Gurgel 5 months ago
rm errant ellipsis from docstring
71c064f6 — Antonio Gurgel 5 months ago
Update flake
f1e3aa54 — Antonio Gurgel 6 months ago
Replace invalid type hint; sort an import

clone

read-only
https://git.sr.ht/~goorzhel/beancount-steam
read/write
git@git.sr.ht:~goorzhel/beancount-steam

You can also use your local clone with git send-email.

#Beancount: Steam

Beancount importer for transactions obtained from Steam, the video game distributor.

#Usage

#Install dependencies

#Configure importer

Add something like this to your importer configuration:

from beancount_steam import SteamImporter

CONFIG = [
  SteamImporter("Assets:Cash:Steam", "Expenses:Hobbies:Gaming", "USD")
]

The class signature:

  • wallet_account (str): The Beancount account to which to post transactions.
  • expense_account (str): The Beancount account to which to post negative transactions.
  • currency_code (str): The three-letter code of the currency the transactions are in.

#Download data

  1. Go to your account history.
  2. Load all transactions.
  3. Save the page as HTML.
Do not follow this link