Deprecated.
NAME
MetaCPAN::API::Autocomplete - Autocompletion info for MetaCPAN::API
DESCRIPTION
This role provides MetaCPAN::API with fetching autocomplete information
METHODS
autocomplete
my $result = $mcpan->autocomplete(
search => {
query => 'Moose',
},
);
By default, you get 20 results (at maximum). If you need more, you can also pass size:
my $result = $mcpan->autocomplete(
search => {
query => 'Moose',
size => 30,
},
);
There is a hardcoded limit of 100 results (hardcoded in MetaCPAN).
Searches MetaCPAN for autocompletion info.
BUGS
Please report any bugs or feature requests on the bugtracker website https://github.com/xsawyerx/metacpan-api/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
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.