NAME
DomainOperations::ResellerClubHTTP - A class to search and book a Domain Name via ResellerClub HTTP API!
VERSION
Version 0.02
SYNOPSIS
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']});
FUNCTIONS
new
createCustomer
createContact
checkDomainAWithoutSuggestion
checkDomainAWithSuggestion
registerDomain
AUTHOR
"abhishek jain", <"goyali at cpan.org">
BUGS
Please report any bugs or feature requests directly to the author at <"goyali at cpan.org">
SUPPORT
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 & LICENSE
Copyright 2010 "abhishek jain".
DESCRIPTION
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
The parameters are: A Hash Ref with the following keys: domains : value is an arrayref of the domain name(s) to query the registry database tlds : value is an arrayref of the TLDs to query for.-
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
The parameters are: A Hash Ref with the following keys: domains : value is an arrayref of the domain name(s) to query the registry database tlds : value is an arrayref of the TLDs to query for.-
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
The parameters are: A Hash Ref with the following keys: _add_default_contact : Also create and return a contact along with a customer. cemail : valid email address of the customer who wants to book a domain cpassword : valid password of customer,Rules > 8 chars and alphanumeric cname : Customer Name caddress1 : Customer Address Line 1 caddress2 : Customer Address Line 1 ccity : City cstate : State ccountry : 2 digit ISO Code for country czip : Zip / Post Code ccountrycode : Country ISD Code cphone : Phone with the STD Code-
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
The parameters are: A Hash Ref with the following keys: domain : domain name with the TLD to book, years : Number of years nameservers : Array ref with the nameservers customer : Customer id (integer) contact : Contact id (integer)-
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
Not yet implemented, please dont use this function for now.checkDomainA
Not yet implemented, please dont use this function for now.formatdomains
Not yet implemented, please dont use this function for now.renewDomain
Not yet implemented, please dont use this function for now.transferDomain
Not yet implemented, please dont use this function for now.modifyCustomer
Not yet implemented, please dont use this function for now.modifyCustomerPassword
Not yet implemented, please dont use this function for now.
TODO
Need to add more functions like whois.
NOTE:
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 .
AUTHOR
<Abhishek jain> goyali at cpan.org
SEE ALSO
http://www.ejain.com