- INTERNAL API
- COPYRIGHT & LICENSE
Net::Xero - Interface to Xero accounting
Quick summary of what the module does.
For a private application you will receive the access_token/secret when you submit your X509 to xero. You can ignore login/auth in this instance as follows: use Net::Xero;
my $foo = Net::Xero->new( access_token => 'YY', access_secret => 'XX', );
A list of functions that can be exported. You can delete this section if you don't export anything, such as for a purely object-oriented module.
This sets up the initial OAuth handshake and returns the login URL. This URL has to be clicked by the user and the the user then has to accept the application in xero.
Xero then redirects back to the callback URL defined with
$self->callback_url. If the user already accepted the application the redirect may happen without the user actually clicking anywhere.
The auth method changes the initial request token into access token that we need for subsequent access to the API. This method only has to be called once after login.
_talk handles the access to the restricted resources. You should normally not need to access this directly.
<norbu09 at cpan.org>
Please report any bugs or feature requests to
bug-net-xero at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-Xero. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
Copyright 2010 Lenz Gschwendtner.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.