MetaCPA...::Rating(3)

πŸ“¦
version 0.51 Β· 2 versions
, in fedora 43

πŸ’– NAME πŸ’–

okay so bestie, meet MetaCPAN::API::Rating β€” it's the whole rating-information situation for MetaCPAN::API. that's it, that's the job. she's giving rating info, periodt. πŸŽ€

this page lives in the User Contributed Perl Documentation manual, and the page itself is MetaCPA...::Rating(3) β€” yes the name got squished, that's just how the header renders it, no cap. πŸ’…


✨ VERSION ✨

version 0.51 πŸ¦‹


🌸 DESCRIPTION 🌸

so this is a role, right? and what a role does is hand extra powers to MetaCPAN::API. and the power in question here? fetching information about CPAN ratings. that's the whole vibe. she goes and gets the ratings tea for you. πŸ”₯


πŸ‘‘ METHODS πŸ‘‘

⭐ rating

the signature, in all her glory:

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

what does she do? searches MetaCPAN for CPAN ratings. iconic behaviour honestly. πŸ”βœ¨

and bestie, you can go complex with it β€” there's a 'search' parameter and she eats it up:

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

and here's the lil glow-up: those searches? they hand you back the right _id so you can come back and ask for more detailed information. it's giving "get the key first, unlock the room later" πŸ—οΈπŸ«Ά


🫢 AUTHOR 🫢

Sawyer X <xsawyerx@cpan.org> β€” thank you for your service, king πŸ‘‘


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. so like, go off, remix it, share it, just keep the same terms fr fr. πŸ’…βœ¨


and that's a wrap, bestie!! this lil cutie was built for perl v5.42.0 and last touched on 2025-07-25, living under the MetaCPA...::Rating(3) name. mwah, bye!! πŸ’–πŸŽ€πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from