There's a lot of "Hey, you can do this!" and you click on it, and it doesn't work. For example, you can't actually "Search without constraints". The JSONP section doesn't have all of the sections, like favorites, rating, file. It took me hours of probing to figure out the following endpoints:
Also, what is up with /v0/ vs. not using /v0/ ?
I think I should start my document task from this issue, I'm not sure if we need document as output on https://github.com/CPAN-API/cpan-api/wiki or http://explorer.metacpan.org/ ?
The original comments are referring to the Beta API docs wiki page, which is no longer current.
The wiki sidebar contains a link to https://github.com/CPAN-API/cpan-api/wiki/API-docs-(Deprecated)
and many of those examples don't work anymore.
@oalders Do you think we should try to update any of that? Maybe if there's something that page describes that the new https://github.com/CPAN-API/cpan-api/wiki/API-docs page doesn't have we could update the example and add it to the new page.
Additionally the header is out of date (or confusing)... I think that "Deprecated" page is actually the "alpha" docs (for the api before we had the Beta API which we don't have anymore). o_O
So maybe we should see if there are any useful examples to salvage and then just get rid of that page?
There are some things to fix on the current page, though:
For help on those see the changes in this pull request: https://github.com/CPAN-API/metacpan-examples/pull/7/files
I've just deleted that extremely old doc page. That's from the very first iteration of the API, so there was almost nothing useful still there.
@rwstauner I updated to document, by changing MetaCPAN::API to MetaCPAN::Client and ElasticSearch.pm to Search:: Elasticsearch.pm. as you suggested. Could you check please ?
Thanks for the update @oiami!