28 Jun 2018 03:56:06 UTC
- Distribution: WWW-YNAB
- Module version: 0.02
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (0)
- Testers (379 / 0 / 52)
- KwaliteeBus factor: 0
- 79.37% Coverage
- License: mit
- Perl: v5.10.0
- Activity24 month
- Download (18.15KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
- SEE ALSO
- COPYRIGHT AND LICENSE
WWW::YNAB - Wrapper for the YNAB API
use WWW::YNAB; my $ynab = WWW::YNAB->new(access_token => 'SECRET'); my @budgets = $ynab->budgets;
This module is a wrapper around the V1 YNAB API. It follows the API structure quite closely, so the API documentation should be used for information about the data that this module returns. You can find the API documentation at https://api.youneedabudget.com/.
Your personal access token. Information about generating a personal access token can be found at https://api.youneedabudget.com/#personal-access-tokens. Required.
The base uri for all API requests. Defaults to
https://api.youneedabudget.com/v1/. It's unlikely you'll need to change this.
The HTTP user agent to use. Must be compatible with HTTP::Tiny.
Returns the budget with id
$id. The returned budget object will have a
server_knowledgemethod which represents the state of the server when that object was returned. If the
$server_knowledgeparameter is passed here with a value that came from an object previously returned by this method, this method will only return sub-objects (transactions, accounts, etc.) which have changed since that previous object was generated.
Returns the number of requests in the current rate limit bucket.
Returns true if the current rate limit is known. This will only be true after a request has already been made (since the API currently doesn't provide a way to just request the current rate limit).
Returns the total number of requests that will be allowed in the current rate limit bucket.
Returns true if the current total rate limit is known. This will only be true after a request has already been made (since the API currently doesn't provide a way to just request the current rate limit).
No known bugs.
Please report any bugs to GitHub Issues at https://github.com/doy/www-ynab/issues.
Not all of the API is exposed by this wrapper yet. In particular, these things are missing:
- All modification endpoints (this module currently only exposes read-only operations)
- The payee location API
- OAuth authentication
Patches are greatly appreciated if you are interested in this functionality.
You can find this documentation for this module with the perldoc command.
You can also look for information at:
RT: CPAN's request tracker
Jesse Luehrs <email@example.com>
This software is Copyright (c) 2018 by Jesse Luehrs.
This is free software, licensed under:
The MIT (X11) License