Net::Recurly - Recurly client library
use Net::Recurly; my $R = Net::Recurly->new( username => 'email@example.com', password => 'your-password', subdomain => 'your-domain', ); my $subscription = $r->get_subscription('your-account-code');
Net::Recurly is a thin layer around the Recurly.com API. It currently only supports GET requests, although supporting the API more fully is planned.
The XML responses are returned as a hash, using XML::Simple.
The constructor takes 3 mandatory arguments:
This is the username you use to access the Recurly API.
This is the password you use to access the Recurly API.
This is the domain you have configured for Recurly.
Note: If you are using the Recurly test account, your domain should end in '-test'.
The Recurly API documentation: http://docs.recurly.com/
This module is a simple first draft, it is not complete, it does not have tests.
YMMV, IANAL, Patches Welcome.
Copyright 2011 Luke Closs.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.