Net::Artera - Perl extension for Artera XML API.
use Net::Artera; my $connection = new Net::Artera ( 'rid' => 'reseller_id', 'username' => 'reseller_username', 'password' => 'reseller_password', 'production' => 0, ); my $result = $artera->newOrder( 'email' => $email, 'cname' => $name, 'ref' => $refnum,, 'aid' => $affiliatenum, 'add1' => $address1, 'add2' => $address2, 'add3' => $city, 'add4' => $state, 'zip' => $zip, 'cid' => $country, 'phone' => $phone, 'fax' => $fax, ); if ( $result->{'id'} == 1 ) { #Success! $serialnum = $result->{'ASN'}; $keycode = $result->{'AKC'}; } else { #Failure die $result->{'message'}; } # etc...
This is a Perl module which speaks the Artera XML API. See <http://www.arteraturbo.com>. Artera Resellers can use this module to access some features of the API.
Constructor. Options can be passed as a hash reference or a list. Options are case-insensitive.
Available options are:
Options can be passed as a hash reference or a list. Options are case-insensitive.
*These fields are optional, but must be supplied as a set.
Returns a hash reference with the following keys (these keys are case-sensitive):
Available options are the same as newTrial. Additionally the asn and akc fields may be specified to convert a trial to an order.
Unimplemented.
orderListByDate is unimplemented.
<http://www.arteraturbo.com>
Ivan Kohler, <ivan-net-artera@420.am>
Freeside, open-source billing for ISPs: <http://www.sisd.com/freeside>
Not affiliated with Artera Group, Inc.
Copyright (C) 2004 Ivan Kohler
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install Net::Artera, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Artera
CPAN shell
perl -MCPAN -e shell install Net::Artera
For more information on module installation, please visit the detailed CPAN module installation guide.