- LICENSE AND COPYRIGHT
- COPYRIGHT AND LICENSE
Net::WOT - Access Web of Trust (WOT) API
This module provides an interface to Web of Trust's API.
use Net::WOT; my $wot = Net::WOT->new; # get all details my %all_details = $wot->get_reputation('example.com'); # use specific details after get_reputations() method was called print $wot->privacy_score, "\n";
Fully object oriented, nothing is exported.
These are attributes that can be set during the initialization of the WOT object. The syntax is:
my $wot = Net::WOT->new( attr1 => 'value1', attr2 => 'value2', );
The basic url for the WOT API. Default: api.mywot.com.
The path for the WOT API request. Default: public_query2.
Version of the WOT API. Default: 0.4.
These are subroutines you probably don't want to change but can still read from.
Note: Changing these might compromise the integrity of your information, consider them as read-only.
The trustworthiness score.
The trustworthiness confidence.
The trustworthiness description.
The vendor reliability score.
The vendor reliability confidence.
The vendor reliability description.
The privacy score.
The privacy confidence.
The privacy description.
The child safety score.
The child safety confidence.
The child safety description.
This is a shorthand to reach an internal useragent get command. Why would you want it? Who knows? It's there.
Retrieves a component name from the index number of it. For example:
my $name = $wot->get_component_name(2); # $name = 'privacy'
Returns a list of all component names.
Retrieves a reputation description from a certain level threshold. For example:
my $threshold = 60; my $description = $wot->get_reputation_description; # $description = 'good'
Returns a list of all reputation levels.
Retrieves a confidence level from a certain threshold. For example:
my $confidence_level = $wot->get_confidence_level(12); # $confidence_level = '2'
Returns a list of all confidence levels.
<xsawyerx at cpan.org>
Please report bugs and other issues on the bugtracker:
Copyright 2010 Sawyer X.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
Sawyer X <email@example.com>
This software is copyright (c) 2010 by Sawyer X.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.