Skip to main content

API client for uploading addons to the Edge store

Project description

Edge Addons API

CI

An API client for publishing addons to the Edge store.

Based on the PlasmHQ Edge Addons API.

Usage

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",
    api_key="Your API key",
    retry_count=5 # Retry attempts, default 5
    sleep_seconds=3 # Sleep seconds between retries, default 3

)

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)

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

edge_addons_api-0.4.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

edge_addons_api-0.4.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file edge_addons_api-0.4.1.tar.gz.

File metadata

  • Download URL: edge_addons_api-0.4.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for edge_addons_api-0.4.1.tar.gz
Algorithm Hash digest
SHA256 d378d3155f1e5dbbb160676eb9e1f4c388276751ec42f512190d0f4ade13de18
MD5 fc8dd7bbf8a177934f6914745d239fd5
BLAKE2b-256 a4eeeffc50fb445ba7f89a06522ddfa75261dfb91aa4c1ac4771c17692cc408e

See more details on using hashes here.

Provenance

The following attestation bundles were made for edge_addons_api-0.4.1.tar.gz:

Publisher: publish.yml on web-scrobbler/python-edge-addons-api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file edge_addons_api-0.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for edge_addons_api-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 50efab4719409a098a2e7dbc45e781a8a563da5b8954143a6f8f547f97265f28
MD5 7ff9a2e3b69d6fea4988fa7d582afa7c
BLAKE2b-256 bc2bbe871abf7d2284a910a06451525e35a5233dd5c6bfa3ddc8489082c2fa2b

See more details on using hashes here.

Provenance

The following attestation bundles were made for edge_addons_api-0.4.1-py3-none-any.whl:

Publisher: publish.yml on web-scrobbler/python-edge-addons-api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page