π Introduction
A typed, dependency-free client for the addons.mozilla.org API v5.
Amo wraps the parts of the AMO API v5 you need to keep a Firefox add-on's store listing under version control: sign requests, read and patch the listing, manage the icon and screenshots, and check whether a version has been approved. Everything is plain functions and exported types, so it slots into a release script or CI job.
What's here
- π Client β create an authenticated client, its options, retries and version status
- π Listing sync β diff a local listing file against the live add-on and patch only what changed
- πΌοΈ Icon and previews β upload the icon, manage screenshots and plan a preview sync
- π‘οΈ Errors and security β
AmoErrorkinds, secret redaction and the JWT helper