NAME

WWW::YNAB::Budget - Budget model object

VERSION

version 0.02

SYNOPSIS

  use WWW::YNAB;

  my $ynab = WWW::YNAB->new(...);
  my $budget = $ynab->budget('12345678-1234-1234-1234-1234567890ab');

OVERVIEW

See https://api.youneedabudget.com/v1#/Budgets for more information.

METHODS

id

name

last_modified_on

first_month

last_month

server_knowledge

accounts

payees

categories

category_groups

Alias for categories.

months

transactions

scheduled_transactions

account($id)

Returns the account with id $id.

category($id)

Returns the category with id $id.

payee($id)

Returns the payee with id $id.

month($id)

Returns the month with id $id.

find_transactions(%query)

Finds transactions based on query parameters. Valid options are (all optional):

account
category
payee
type
since_date

Note that only one of account, category, payee, or type may be specified.

transaction($id)

Returns the transaction with id $id.

scheduled_transaction($id)

Returns the scheduled transaction with id $id.

AUTHOR

Jesse Luehrs <doy@tozt.net>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2018 by Jesse Luehrs.

This is free software, licensed under:

  The MIT (X11) License