crxviewer icon indicating copy to clipboard operation
crxviewer copied to clipboard

Use AMO API to fetch latest xpi

Open Rob--W opened this issue 8 years ago • 0 comments

The XPI URL is currently based on https://github.com/Rob--W/crxviewer/blob/2972e4fe9f15b703f07f157fc5d3fa2e2fe97b43/src/cws_pattern.js#L60. This returns the URL for the latest reviewed XPI file.

For reviewers, the shown XPI should preferably be the URL of the latest (potentially unreviewed) add-on. It seems that the only way to do this is through the API: http://addons-server.readthedocs.io/en/latest/topics/api/index.html / https://addons-server.readthedocs.io/en/latest/topics/api/addons.html#detail .

Rob--W avatar Jan 04 '17 12:01 Rob--W