WWW::CPANRatings - parsing CPANRatings data
use WWW::CPANRatings; my $r = WWW::CPANRatings->new; my $all_ratings = $r->rating_data; # get rating data. my $ratings = $r->get_ratings( 'Moose' ); # get Moose rating scores. my @reviews = $r->get_reviews( 'Moose' ); # parse review text from cpanratings.perl.org. for my $r ( @reviews ) { $r->{dist}; $r->{dist_link}; $r->{version} $r->{user}; $r->{user_link}; $r->{created_on}; # DateTime object. $r->{ratings}; }
Download/Parse csv rating data.
Get csv rating data.
Get rating data of a distribution
Get distribution reviews (including text, user, timestamp)
Get reviews from all distributions.
Yo-An Lin <cornelius.howl {at} gmail.com>
WWW::CPANRatings::RSS
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install WWW::CPANRatings, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::CPANRatings
CPAN shell
perl -MCPAN -e shell install WWW::CPANRatings
For more information on module installation, please visit the detailed CPAN module installation guide.