← 返回
开发者工具 Key

Manage YNAB budgets, accounts, categories, and transactions.

Manage YNAB budgets, accounts, categories, and transactions via CLI.
通过CLI管理YNAB预算、账户、类别和交易
obviyus
开发者工具 clawhub v1.0.0 1 版本 99599.4 Key: 需要
★ 8
Stars
📥 3,072
下载
💾 133
安装
1
版本
#latest

概述

YNAB CLI

Install

npm i -g @stephendolan/ynab-cli

Auth

# Get API key from https://app.ynab.com/settings/developer
# Then set YNAB_API_KEY env var, or:
ynab auth login
ynab auth status

Budgets

ynab budgets list
ynab budgets view [id]
ynab budgets set-default <id>

Accounts

ynab accounts list
ynab accounts view <id>
ynab accounts transactions <id>

Categories

ynab categories list
ynab categories view <id>
ynab categories transactions <id>
ynab categories budget <id> --month <YYYY-MM> --amount <amount>

Transactions

ynab transactions list
ynab transactions list --account <id> --since <YYYY-MM-DD>
ynab transactions list --approved=false --min-amount 100
ynab transactions search --memo "coffee"
ynab transactions search --payee-name "Amazon"
ynab transactions view <id>
ynab transactions create --account <id> --amount <amount> --date <YYYY-MM-DD>
ynab transactions update <id> --amount <amount>
ynab transactions delete <id>
ynab transactions split <id> --splits '[{"amount": -50.00, "category_id": "xxx"}]'

Payees

ynab payees list
ynab payees view <id>
ynab payees update <id> --name <name>
ynab payees transactions <id>

Months

ynab months list
ynab months view <YYYY-MM>

Scheduled

ynab scheduled list
ynab scheduled view <id>
ynab scheduled delete <id>

Raw API

ynab api GET /budgets
ynab api POST /budgets/{budget_id}/transactions --data '{"transaction": {...}}'

Notes

  • Amounts are in your budget's currency, not milliunits
  • Use --compact for minified JSON
  • Rate limit: 200 req/hour
  • Cannot create categories/groups/payees via API

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 12:52 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 65 📥 179,847
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 666 📥 323,797
ai-intelligence

Transcribe audio files via OpenRouter using audio-capable models

obviyus
通过 OpenRouter 使用 Gemini、GPT-4o-audio 等音频模型转录音频文件。
★ 4 📥 4,414