-
Notifications
You must be signed in to change notification settings - Fork 193
The API is currently in beta status and can be found Beta-API-docs. API requests need to be sent to api.metacpan.org.
http://explorer.metacpan.org/ is an easy way to try sending queries to the back-end.
Log in to MetaCPAN and you'll be directed to a page where you can edit your author info. Alternatively, you can upload a author.json file to your pause directory. It will be indexed hourly. However, logging directly is the best way to do it. If you'd still like to add an author.json file, you can create it via the MetaCPAN login, download it from the API and then upload the JSON to PAUSE. You can download your JSON at http://api.metacpan.org/v0/author/PAUSEID
Please open an issue or contact us at #metacpan. We will have a look at it and fix it if possible.
We wrote the indexer that crawls the CPAN from scratch and it wasn't an easy undertaking. From extracting the tarball to parsing each module many things can go wrong. Please file an issue and let us know which module you cannot find and we'll do our best to fix it.
Requests to have modules removed from the CPAN should be directed at the PAUSE admins. Keep in mind that, if a module contains sensitive information, just deleting it from your CPAN directory is not enough, as it will still reside in the BackPAN.
If the PAUSE admins approve your request, have them CC [email protected] so that we can push the right buttons to have your work removed from MetaCPAN as well.
search.metacpan.org is currently not under development and has been moved to https://js.metacpan.org. Please use https://metacpan.org/ instead. If you're motivated, you can help revive js.metacpan.org here: https://github.com/CPAN-API/search-metacpan-org
If you decide to use MetaCPAN instead of search.cpan.org you can do that by modifying your hosts
file. Add the following lines and all links to search.cpan.org (and links to source code) will be redirected to MetaCPAN:
109.104.113.94 search.cpan.org
109.104.113.94 cpansearch.perl.org
If you do this, be sure to point cpanm to another mirror, as it defaults to search.cpan.org. Here's how:
export PERL_CPANM_OPT="--mirror http://www.cpan.no/" # Insert your closest mirror here.
If you find yourself to be on search.cpan.org and you want to get redirected to corresponding metacpan page, just change the domain name with search.mcpan.org. For example:
http://search.cpan.org/~xsawyerx/MetaCPAN-API-0.43/lib/MetaCPAN/API.pm
has to be changed to:
http://search.mcpan.org/~xsawyerx/MetaCPAN-API-0.43/lib/MetaCPAN/API.pm
^