ezbookkeeping

TotalClaw 作者 totalclaw

使用 ezBookkeeping API 工具脚本在自托管个人财务应用程序 ezBookkeeping 中记录新交易、查询交易、检索帐户信息、检索类别、检索标签和检索汇率数据。

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~mayswind-ezbookkeeping
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~mayswind-ezbookkeeping/file -o mayswind-ezbookkeeping.md
## 概述(中文)

使用 ezBookkeeping API 工具脚本在自托管个人财务应用程序 ezBookkeeping 中记录新交易、查询交易、检索帐户信息、检索类别、检索标签和检索汇率数据。

## 原文

# ezBookkeeping API Tools

## Usage

### List all supported commands

Linux / macOS

```bash
sh scripts/ebktools.sh list
```

Windows

```powershell
scripts\ebktools.ps1 list
```

### Show help for a specific command

Linux / macOS

```bash
sh scripts/ebktools.sh help <command>
```

Windows

```powershell
scripts\ebktools.ps1 help <command>
```

### Call API

Linux / macOS

```bash
sh scripts/ebktools.sh [global-options] <command> [command-options]
```

Windows

```powershell
scripts\ebktools.ps1 [global-options] <command> [command-options]
```

## Troubleshooting

If the script reports that the environment variable `EBKTOOL_SERVER_BASEURL` or `EBKTOOL_TOKEN` is not set, user can define them as system environment variables, or create a `.env` file in the user home directory that contains these two variables and place it there.

The meanings of these environment variables are as follows:

| Variable | Required | Description |
| --- | --- | --- |
| `EBKTOOL_SERVER_BASEURL` | Required | ezBookkeeping server base URL (e.g., `http://localhost:8080`) |
| `EBKTOOL_TOKEN` | Required | ezBookkeeping API token |

## Reference

ezBookkeeping: [https://ezbookkeeping.mayswind.net](https://ezbookkeeping.mayswind.net)