WWW::DomainTools - DomainTools.com XML API interface
use WWW::DomainTools qw(search_engine name_spinner); my $repsonse = search_engine( q => 'example.com', ext => 'COM|NET|ORG|INFO' key => '12345', partner => 'yourname', customer_ip => '1.2.3.4' ); # OO my $obj = WWW::DomainTools::SearchEngine->new( key => '12345', partner => 'yourname', customer_ip => '1.2.3.4' ); my $response = $obj->request( q => 'example.com', ext => 'COM|NET|ORG|INFO' ); # Custom LWP user agent my $ua = LWP::UserAgent->new; $ua->env_proxy(true); my $obj = WWW::DomainTools::SearchEngine->new( key => '12345', partner => 'yourname', customer_ip => '1.2.3.4', lwp_ua => $ua ); my $response = $obj->request( q => 'example.com', ext => 'COM|NET|ORG|INFO' );
This module allows you to use the name spinner and whois search available on domaintools.com.
These methods are available as both class and object methods. Nothing is exported by default.
None by default.
Allowed:
- search_engine - name_spinner
The keys and values expected are documented on the Domain Tools website. In addition the "search engine" specific parameters, you need to pass the required parameters as documented in the WWW::DomainTools::SearchEngine new() method.
If the request is successful, the return value is either a hash reference or a string depending on the value of the 'format' parameter to the constructor.
See the documentation for the new() method for more detailed information about 'format' and other standard parameters.
If the HTTP request fails, this method will die.
The keys and values expected are documented on the Domain Tools website. In addition the "name spinner" specific parameters, you need to pass the required parameters as documented in the WWW::DomainTools::NameSpinner new() method.
WWW::DomainTools::SearchEngine WWW::DomainTools::NameSpinner
Please report bugs using the CPAN Request Tracker at http://rt.cpan.org/
David Bartle <captindave@gmail.com>
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
I am not affiliated with Domain Tools or Name Intelligence. The use of their API's are governed by their own terms of service:
http://www.domaintools.com/members/tos.html
The full text of the license can be found in the LICENSE file included with this module.
To install WWW::DomainTools, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::DomainTools
CPAN shell
perl -MCPAN -e shell install WWW::DomainTools
For more information on module installation, please visit the detailed CPAN module installation guide.