1MetaCPAN::API::Rating(3U)ser Contributed Perl DocumentatiMoentaCPAN::API::Rating(3)
2
3
4

NAME

6       MetaCPAN::API::Rating - Rating information for MetaCPAN::API
7

VERSION

9       version 0.51
10

DESCRIPTION

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

METHODS

16   rating
17           my $result = $mcpan->rating( id => 'UC6tqabqR-y3xxZk0tgVXQ' );
18
19       Searches MetaCPAN for CPAN ratings.
20
21       You can do complex searches using 'search' parameter:
22
23           my $result = $mcpan->rating(
24               search => {
25                   filter => "distribution:Moose",
26                   fields => [ "date", "rating" ],
27               },
28           );
29
30       These searches will give you the right _id to use for more detailed
31       information.
32

AUTHOR

34       Sawyer X <xsawyerx@cpan.org>
35
37       This software is copyright (c) 2011 by Sawyer X.
38
39       This is free software; you can redistribute it and/or modify it under
40       the same terms as the Perl 5 programming language system itself.
41
42
43
44perl v5.28.1                      2017-06-07          MetaCPAN::API::Rating(3)
Impressum