Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 34 lines (28 sloc) 1.66 kB
63bfff3 @miyagawa init
authored
1 <html>
2 <head>
3 <title>CPAN Meta DB</title>
4 <link rel="stylesheet" href="http://miyagawa.github.com/screen.css" ?>
5 <style>
6 body { font-size: 1.1em }
7 .info { font-size: 0.9em }
8 #footer { margin-top: 100px; font-size: 0.8em; text-align: center }
9 </style>
10 </head>
11 <body>
12 <div class="container">
13 <h1>CPAN Meta DB</h1>
14
15 <p class="info">
16 This is (yet another) CPAN metadata database that provides REST API for the CPAN distributions, intended to be used by CPAN clients such as <a href="http://github.com/miyagawa/cpanminus">cpanminus</a>. Currently the only implemented endpoint is the resolver to get distribution file names from package names (a.k.a <code>02packages.details.txt.gz</code>) but there's a plan to implement more to extract information from <code>META.yml</code> etc. See also <a href="http://search.cpan.org/perldoc?CPANDB">CPANDB</a> and <a href="http://search.cpan.org/perldoc?App::CPANIDX">CPANIDX</a> for the similar works.
17 </p>
18
19 <h2>APIs</h2>
20
21 <dl>
22 <dt><code>/v1.0/package/Package::Name</code><dt>
23 <dd>Returns the latest distribution file path that contains the package and its version string ('undef' is a valid version string) in YAML format. Returns 404 status code if the package is not found.</dd>
24 </dl>
25
26 <div id="footer">
27 This is yet another CPAN Meta DB, created by <a href="http://bulknews.typepad.com/">Tatsuhiko Miyagawa</a> for <a href="http://search.cpan.org/perldoc?App::cpanminus">cpanminus</a>.<br/>
9cc6ba5 @miyagawa Make it 10 minutes because 02packages is now updated every 5 minutes.
authored
28 Powered by <a href="http://www.linode.com/?r=425f2f427ba816f7d4fad073885a0e6b6914ebca">Linode</a> and the source code is available on <a href="http://github.com/miyagawa/cpanmetadb-perl">github</a>.
63bfff3 @miyagawa init
authored
29 </div>
30
31 </div>
32 </body>
33 </html>
Something went wrong with that request. Please try again.