DomainOperations::ResellerClubHTTP - A class to search and book a Domain Name via ResellerClub HTTP API!
Version 0.02
This module presents an easy to use Resellerclub's HTTP APIs on Perl.
use DomainOperations::ResellerClubHTTP; use Data::Dumper; my $do = DomainOperations::ResellerClubHTTP->new(username=>'USER',password=>'PASS',account=>'Sandbox'); print Dumper $do->checkDomainAWithoutSuggestion({'domains'=>['thisisthedomain' ],'tlds'=>['com' ,'net']});
"abhishek jain", <"goyali at cpan.org">
<"goyali at cpan.org">
Please report any bugs or feature requests directly to the author at <"goyali at cpan.org">
You can find documentation for this module with the perldoc command.
perldoc DomainOperations::ResellerClubHTTP
You can also email the author and rest assured of the reply
Copyright 2010 "abhishek jain".
This module implements the HTTP APIs of ResellerClub a popular domian registrar from India,
At the moment these methods are implemented:
new
A constructor
The parameters sent are : username : resellerid of the reseller, can be viewed under the Settings , Personal Information from the web interface. password : password account : whether this is 'Sandbox' or 'Production'
returns an object
checkDomainAWithoutSuggestion
example: $do->checkDomainAWithoutSuggestion({'domains'=>['domaintosearch','another' ],'tlds'=>['com' ,'net']});
Returns an hashref, and as the name suggests along with the availability of domains will not return suggestions alternative of domains.
checkDomainAWithSuggestion
example: $do->checkDomainAWithSuggestion({'domains'=>['domaintosearch','another' ],'tlds'=>['com' ,'net']});
Returns an hashref, and as the name suggests along with the availability of domains will also return suggestions alternative of domains.
createCustomer
example: print Dumper $do->createCustomer({_add_default_contact=>'1', cemail=>'valid email', cpassword=>'valid password', cname =>'abhishek jain',caddress1 =>'test add 1',caddress2 =>'add 2',ccity=>'delhi', cstate=>'delhi', ccountry =>'IN', czip=>'110000' ,ccountrycode=>'91', cphone =>'1122222222',});
Returns an hashref, with the customer id and the contact id.
registerDomain
example: print Dumper $do->registerDomain({ domain=>'abhidddd.com' ,years=>4, nameservers=>['ns1.xyz.com','ns1.xyz.com'], customer => '111111',contact=>'11111'});
Returns an hashref, along with that the status of the domain registration.
modifyContact
checkDomainA
formatdomains
renewDomain
transferDomain
modifyCustomer
modifyCustomerPassword
Need to add more functions like whois.
This module is provided as is, and is still underdevelopment, not suitable for Production use.
Virus free , Spam Free , Spyware Free Software and hopefully Money free software .
<Abhishek jain> goyali at cpan.org
http://www.ejain.com
To install DomainOperations, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DomainOperations
CPAN shell
perl -MCPAN -e shell install DomainOperations
For more information on module installation, please visit the detailed CPAN module installation guide.