Skip to content
oalders edited this page Aug 22, 2011 · 25 revisions

Where can I find the API?

The API is currently in beta status and can be found at http://api.metacpan.org. The documentation can be found here: Beta-API-docs.

How can I try the API?

http://explorer.metacpan.org/ is an easy way to try sending queries to the back-end.

How can I pimp my author page?

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

My author.json file is not indexed (properly)?

Please open an issue or contact us at #metacpan. We will have a look at it and fix it if possible.

Why can't i find my module?

We wrote the indexer, that crawls the CPAN from scratch and that 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.

What is happening to search.metacpan.org?

search.metacpan.org is currently not under development and has been moved to http://js.metacpan.org. Please use http://metacpan.org/ instead. If you're motivated, you can help revive js.metacpan.org here: https://github.com/CPAN-API/search-metacpan-org

Can I automatically redirect links to search.cpan.org to 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 redirect 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. 

Meta

Clone this wiki locally