An API client for publishing addons to the Edge store.
Based on the PlasmHQ Edge Addons API.
Obtain the required options for your project. These can be obtained by following the Microsoft Edge Add-Ons API guide.
Once obtained you can submit you addon like below:
from edge_addons_api.client import Options, Client
options = Options(
product_id="Your product ID",
client_id="Your client ID",
client_secret="Your client secret",
access_token_url="Your access token URL"
)
client = Client(options)
# Upload extension
operation_id = client.submit(
file_path="/path/to/extension.zip",
notes="Your upload notes"
)
# Check publish status
client.fetch_publish_status(operation_id)
MIT