Sawyer X > MetaCPAN-API-0.43 > MetaCPAN::API::Author

Download:
MetaCPAN-API-0.43.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  1
View/Report Bugs
Module Version: 0.43   Source  

NAME ^

MetaCPAN::API::Author - Author information for MetaCPAN::API

VERSION ^

version 0.43

DESCRIPTION ^

This role provides MetaCPAN::API with fetching information about authors.

METHODS ^

author

    my $result1 = $mcpan->author('XSAWYERX');
    my $result2 = $mcpan->author( pauseid => 'XSAWYERX' );

Searches MetaCPAN for a specific author.

You can do complex searches using 'search' parameter:

    # example lifted from MetaCPAN docs
    my $result = $mcpan->author(
        search => {
            q    => 'profile.name:twitter',
            size => 1,
        },
    );

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.

syntax highlighting: