edge-addons-api-0.3.0
توضیحات
API client for uploading addons to the Edge store
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | edge-addons-api-0.3.0 |
| نام | edge-addons-api |
| نسخه کتابخانه | 0.3.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Malachi Soord |
| ایمیل نویسنده | inverse.chi@gmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/edge-addons-api/ |
| مجوز | MIT |
# Edge Addons API
[](https://github.com/inverse/python-edge-addons-api/actions/workflows/main.yml)
An API client for publishing addons to the Edge store.
Based on the [PlasmHQ Edge Addons API](https://github.com/PlasmoHQ/edge-addons-api).
## Usage
Obtain the required options for your project. These can be obtained by following the [Microsoft Edge Add-Ons API guide](https://learn.microsoft.com/en-us/microsoft-edge/extensions-chromium/publish/api/using-addons-api).
Once obtained you can submit you addon like below:
```python
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)
```
## License
MIT
نیازمندی
| مقدار | نام |
|---|---|
| >=2.28.1,<3.0.0 | requests |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10,<4.0 | Python |
نحوه نصب
نصب پکیج whl edge-addons-api-0.3.0:
pip install edge-addons-api-0.3.0.whl
نصب پکیج tar.gz edge-addons-api-0.3.0:
pip install edge-addons-api-0.3.0.tar.gz