Documentation ¶
Index ¶
- type Account
- type AccountListResponse
- type AccountListWrapper
- type AccountService
- type Budget
- type BudgetListResponse
- type BudgetListWrapper
- type BudgetService
- func (b *BudgetService) GetAccounts(ctx context.Context, budgetID string, data url.Values) (*AccountListResponse, error)
- func (b *BudgetService) GetCategories(ctx context.Context, budgetID string, data url.Values) (*CategoryListResponse, error)
- func (b *BudgetService) GetPage(ctx context.Context, data url.Values) (*BudgetListResponse, error)
- func (b *BudgetService) GetScheduledTransactions(ctx context.Context, budgetID string, data url.Values) (*ScheduledTransactionListResponse, error)
- func (b *BudgetService) GetTransactions(ctx context.Context, budgetID string, data url.Values) (*TransactionListResponse, error)
- type Category
- type CategoryGroup
- type CategoryListResponse
- type CategoryListWrapper
- type CategoryService
- type Client
- type Date
- type ScheduledTransaction
- type ScheduledTransactionListResponse
- type ScheduledTransactionListWrapper
- type Transaction
- type TransactionListResponse
- type TransactionListWrapper
- type TransactionService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { ID string Name string Type string OnBudget bool `json:"on_budget"` Closed bool Note string Balance int64 StartingBalance int64 `json:"starting_balance"` Deleted bool }
func (Account) CashBacked ¶
type AccountListResponse ¶
type AccountListResponse struct {
Data AccountListWrapper `json:"data"`
}
type AccountListWrapper ¶
type AccountListWrapper struct {
Accounts []*Account `json:"accounts"`
}
type AccountService ¶
type AccountService struct {
// contains filtered or unexported fields
}
type BudgetListResponse ¶
type BudgetListResponse struct {
Data BudgetListWrapper `json:"data"`
}
type BudgetListWrapper ¶
type BudgetListWrapper struct {
Budgets []*Budget `json:"budgets"`
}
type BudgetService ¶
type BudgetService struct {
// contains filtered or unexported fields
}
func (*BudgetService) GetAccounts ¶
func (b *BudgetService) GetAccounts(ctx context.Context, budgetID string, data url.Values) (*AccountListResponse, error)
func (*BudgetService) GetCategories ¶
func (b *BudgetService) GetCategories(ctx context.Context, budgetID string, data url.Values) (*CategoryListResponse, error)
func (*BudgetService) GetPage ¶
func (b *BudgetService) GetPage(ctx context.Context, data url.Values) (*BudgetListResponse, error)
func (*BudgetService) GetScheduledTransactions ¶
func (b *BudgetService) GetScheduledTransactions(ctx context.Context, budgetID string, data url.Values) (*ScheduledTransactionListResponse, error)
func (*BudgetService) GetTransactions ¶
func (b *BudgetService) GetTransactions(ctx context.Context, budgetID string, data url.Values) (*TransactionListResponse, error)
type CategoryGroup ¶
type CategoryListResponse ¶
type CategoryListResponse struct {
Data CategoryListWrapper `json:"data"`
}
type CategoryListWrapper ¶
type CategoryListWrapper struct {
CategoryGroups []*CategoryGroup `json:"category_groups"`
}
type CategoryService ¶
type CategoryService struct {
// contains filtered or unexported fields
}
type Client ¶
type Client struct { *rest.Client Accounts *AccountService Budgets *BudgetService Categories *CategoryService Transactions *TransactionService }
type Date ¶
func (*Date) UnmarshalJSON ¶
type ScheduledTransaction ¶
type ScheduledTransaction struct { AccountID string `json:"account_id"` AccountName string `json:"account_name"` Amount int64 Approved bool CategoryName types.NullString `json:"category_name"` Cleared string DateFirst Date `json:"date_first"` DateNext Date `json:"date_next"` Deleted bool Frequency string ID string `json:"id"` Memo string PayeeName string `json:"payee_name"` TransferAccountID types.NullString `json:"transfer_account_id"` Subtransactions []Transaction `json:"subtransactions"` }
type ScheduledTransactionListResponse ¶
type ScheduledTransactionListResponse struct {
Data ScheduledTransactionListWrapper `json:"data"`
}
type ScheduledTransactionListWrapper ¶
type ScheduledTransactionListWrapper struct {
ScheduledTransactions []*ScheduledTransaction `json:"scheduled_transactions"`
}
type Transaction ¶
type Transaction struct { AccountID string `json:"account_id"` AccountName string `json:"account_name"` Amount int64 Approved bool CategoryID types.NullString `json:"category_id"` CategoryName types.NullString `json:"category_name"` Cleared string Date Date Deleted bool ID string `json:"id"` Memo string PayeeName string `json:"payee_name"` TransferAccountID types.NullString `json:"transfer_account_id"` TransferTransactionID types.NullString `json:"transfer_transaction_id"` MatchedTransactionID types.NullString `json:"matched_transaction_id"` Subtransactions []Transaction `json:"subtransactions"` }
type TransactionListResponse ¶
type TransactionListResponse struct {
Data TransactionListWrapper `json:"data"`
}
type TransactionListWrapper ¶
type TransactionListWrapper struct {
Transactions []*Transaction `json:"transactions"`
}
type TransactionService ¶
type TransactionService struct {
// contains filtered or unexported fields
}
Directories ¶
Path | Synopsis |
---|---|
The ynab-export-transactions command retrieves transactions and prints them to stdout in CSV format.
|
The ynab-export-transactions command retrieves transactions and prints them to stdout in CSV format. |
The ynab-largest-inputs-outputs function finds the largest inputs and outputs to your Net Worth, optionally filtered by a month argument.
|
The ynab-largest-inputs-outputs function finds the largest inputs and outputs to your Net Worth, optionally filtered by a month argument. |
Click to show internal directories.
Click to hide internal directories.