++ed by:
SZABGAB AZAWAWI SKAUFMAN JKUTEJ DOHERTY

19 PAUSE user(s)
3 non-PAUSE user(s).

Sawyer X

NAME

MetaCPAN::API::Rating - Rating information for MetaCPAN::API

VERSION

version 0.50

DESCRIPTION

This role provides MetaCPAN::API with fetching information about CPAN ratings.

METHODS

rating

    my $result = $mcpan->rating( id => 'UC6tqabqR-y3xxZk0tgVXQ' );

Searches MetaCPAN for CPAN ratings.

You can do complex searches using 'search' parameter:

    my $result = $mcpan->rating(
        search => {
            filter => "distribution:Moose",
            fields => [ "date", "rating" ],
        },
    );

These searches will give you the right _id to use for more detailed information.

AUTHOR

Sawyer X <xsawyerx@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 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.