lib-shopware6-api-base 3.1.2__tar.gz → 3.1.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/CHANGELOG.md +6 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/PKG-INFO +24 -24
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/README.md +23 -23
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/pyproject.toml +1 -1
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/src/lib_shopware6_api_base/__init__conf__.py +1 -1
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/.devcontainer/devcontainer.json +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/.devcontainer/settings.json +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/.github/actions/extract-metadata/action.yml +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/.github/dependabot.yml +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/.github/workflows/cicd_docker.yml +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/.github/workflows/codeql-analysis.yml +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/.github/workflows/default_release_public.yml +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/.gitignore +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/CODE_OF_CONDUCT.md +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/CONTRIBUTING.md +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/INSTALL.md +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/ISSUE_TEMPLATE.md +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/LICENSE +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/Makefile +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/PULL_REQUEST_TEMPLATE.md +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/example.env +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/notebooks/Quickstart.ipynb +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/src/lib_shopware6_api_base/.gitignore +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/src/lib_shopware6_api_base/__init__.py +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/src/lib_shopware6_api_base/__main__.py +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/src/lib_shopware6_api_base/_compat.py +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/src/lib_shopware6_api_base/_http_common.py +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/src/lib_shopware6_api_base/conf_shopware6_api_base_classes.py +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/src/lib_shopware6_api_base/exit_codes.py +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/src/lib_shopware6_api_base/lib_shopware6_admin_client.py +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/src/lib_shopware6_api_base/lib_shopware6_api_base.py +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/src/lib_shopware6_api_base/lib_shopware6_api_base_cli.py +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/src/lib_shopware6_api_base/lib_shopware6_api_base_criteria.py +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/src/lib_shopware6_api_base/lib_shopware6_api_base_criteria_aggregation.py +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/src/lib_shopware6_api_base/lib_shopware6_api_base_criteria_filter.py +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/src/lib_shopware6_api_base/lib_shopware6_api_base_criteria_sorting.py +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/src/lib_shopware6_api_base/lib_shopware6_api_base_helpers.py +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/src/lib_shopware6_api_base/lib_shopware6_storefront_client.py +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/src/lib_shopware6_api_base/py.typed +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/tests/conf_test_docker.py +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/tests/conftest.py +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/tests/docker.env +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/tests/test_api_base.py +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/tests/test_cli.py +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/tests/test_conf_classes.py +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/tests/test_config.py +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/tests/test_criteria.py +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/tests/test_criteria_aggregation.py +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/tests/test_criteria_filter.py +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/tests/test_criteria_sorting.py +0 -0
- {lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/tests/test_helpers.py +0 -0
|
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [3.1.3] - 2026-06-08
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- Docs: reformatted README markdown tables for consistent column alignment (cosmetic; no content change).
|
|
13
|
+
|
|
8
14
|
## [3.1.2] - 2026-06-08
|
|
9
15
|
|
|
10
16
|
### Changed
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lib_shopware6_api_base
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.3
|
|
4
4
|
Summary: python3 base API client for shopware6
|
|
5
5
|
Project-URL: Homepage, https://github.com/bitranox/lib_shopware6_api_base
|
|
6
6
|
Project-URL: Documentation, https://github.com/bitranox/lib_shopware6_api_base/blob/master/README.md
|
|
@@ -158,17 +158,17 @@ SHOPWARE_STORE_API_SW_ACCESS_KEY="SWSCXXXXXXXXXXXXXXXXXX"
|
|
|
158
158
|
|
|
159
159
|
All environment variables use the `SHOPWARE_` prefix to avoid collision with system variables.
|
|
160
160
|
|
|
161
|
-
| Variable
|
|
162
|
-
|
|
163
|
-
| `SHOPWARE_ADMIN_API_URL`
|
|
164
|
-
| `SHOPWARE_STOREFRONT_API_URL`
|
|
165
|
-
| `SHOPWARE_INSECURE_TRANSPORT`
|
|
166
|
-
| `SHOPWARE_USERNAME`
|
|
167
|
-
| `SHOPWARE_PASSWORD`
|
|
168
|
-
| `SHOPWARE_CLIENT_ID`
|
|
169
|
-
| `SHOPWARE_CLIENT_SECRET`
|
|
170
|
-
| `SHOPWARE_GRANT_TYPE`
|
|
171
|
-
| `SHOPWARE_STORE_API_SW_ACCESS_KEY` | Storefront access key
|
|
161
|
+
| Variable | Description | Example |
|
|
162
|
+
|------------------------------------|-------------------------|----------------------------------------|
|
|
163
|
+
| `SHOPWARE_ADMIN_API_URL` | Admin API endpoint | `https://shop.example.com/api` |
|
|
164
|
+
| `SHOPWARE_STOREFRONT_API_URL` | Storefront API endpoint | `https://shop.example.com/store-api` |
|
|
165
|
+
| `SHOPWARE_INSECURE_TRANSPORT` | Allow HTTP (dev only) | `0` (production) or `1` (dev) |
|
|
166
|
+
| `SHOPWARE_USERNAME` | Admin user email | `admin@example.com` |
|
|
167
|
+
| `SHOPWARE_PASSWORD` | Admin user password | `secret` |
|
|
168
|
+
| `SHOPWARE_CLIENT_ID` | Integration Access ID | `SWIA...` |
|
|
169
|
+
| `SHOPWARE_CLIENT_SECRET` | Integration Secret | `...` |
|
|
170
|
+
| `SHOPWARE_GRANT_TYPE` | Auth method | `USER_CREDENTIALS` or `RESOURCE_OWNER` |
|
|
171
|
+
| `SHOPWARE_STORE_API_SW_ACCESS_KEY` | Storefront access key | `SWSC...` |
|
|
172
172
|
|
|
173
173
|
### Loading Configuration
|
|
174
174
|
|
|
@@ -258,18 +258,18 @@ products = client.request_post("product", payload=criteria)
|
|
|
258
258
|
|
|
259
259
|
All request methods accept these parameters:
|
|
260
260
|
|
|
261
|
-
| Parameter
|
|
262
|
-
|
|
263
|
-
| `request_url`
|
|
264
|
-
| `payload`
|
|
265
|
-
| `update_header_fields` | `dict[str, str] \| None`
|
|
261
|
+
| Parameter | Type | Description |
|
|
262
|
+
|------------------------|----------------------------|---------------------------------|
|
|
263
|
+
| `request_url` | `str` | API endpoint (without base URL) |
|
|
264
|
+
| `payload` | `dict \| Criteria \| None` | Request body |
|
|
265
|
+
| `update_header_fields` | `dict[str, str] \| None` | Custom headers |
|
|
266
266
|
|
|
267
267
|
Admin API methods also support:
|
|
268
268
|
|
|
269
|
-
| Parameter
|
|
270
|
-
|
|
271
|
-
| `content_type`
|
|
272
|
-
| `additional_query_params` | `dict` | URL query parameters
|
|
269
|
+
| Parameter | Type | Description |
|
|
270
|
+
|---------------------------|--------|---------------------------------------|
|
|
271
|
+
| `content_type` | `str` | Content type (`json`, `octet-stream`) |
|
|
272
|
+
| `additional_query_params` | `dict` | URL query parameters |
|
|
273
273
|
|
|
274
274
|
### Custom Headers
|
|
275
275
|
|
|
@@ -442,10 +442,10 @@ except ShopwareAPIError as e:
|
|
|
442
442
|
|
|
443
443
|
### Exception Types
|
|
444
444
|
|
|
445
|
-
| Exception
|
|
446
|
-
|
|
445
|
+
| Exception | When Raised |
|
|
446
|
+
|----------------------|-------------------------------------------------|
|
|
447
447
|
| `ConfigurationError` | Missing .env file, invalid configuration values |
|
|
448
|
-
| `ShopwareAPIError`
|
|
448
|
+
| `ShopwareAPIError` | HTTP errors from the API (4xx, 5xx responses) |
|
|
449
449
|
|
|
450
450
|
---
|
|
451
451
|
|
|
@@ -105,17 +105,17 @@ SHOPWARE_STORE_API_SW_ACCESS_KEY="SWSCXXXXXXXXXXXXXXXXXX"
|
|
|
105
105
|
|
|
106
106
|
All environment variables use the `SHOPWARE_` prefix to avoid collision with system variables.
|
|
107
107
|
|
|
108
|
-
| Variable
|
|
109
|
-
|
|
110
|
-
| `SHOPWARE_ADMIN_API_URL`
|
|
111
|
-
| `SHOPWARE_STOREFRONT_API_URL`
|
|
112
|
-
| `SHOPWARE_INSECURE_TRANSPORT`
|
|
113
|
-
| `SHOPWARE_USERNAME`
|
|
114
|
-
| `SHOPWARE_PASSWORD`
|
|
115
|
-
| `SHOPWARE_CLIENT_ID`
|
|
116
|
-
| `SHOPWARE_CLIENT_SECRET`
|
|
117
|
-
| `SHOPWARE_GRANT_TYPE`
|
|
118
|
-
| `SHOPWARE_STORE_API_SW_ACCESS_KEY` | Storefront access key
|
|
108
|
+
| Variable | Description | Example |
|
|
109
|
+
|------------------------------------|-------------------------|----------------------------------------|
|
|
110
|
+
| `SHOPWARE_ADMIN_API_URL` | Admin API endpoint | `https://shop.example.com/api` |
|
|
111
|
+
| `SHOPWARE_STOREFRONT_API_URL` | Storefront API endpoint | `https://shop.example.com/store-api` |
|
|
112
|
+
| `SHOPWARE_INSECURE_TRANSPORT` | Allow HTTP (dev only) | `0` (production) or `1` (dev) |
|
|
113
|
+
| `SHOPWARE_USERNAME` | Admin user email | `admin@example.com` |
|
|
114
|
+
| `SHOPWARE_PASSWORD` | Admin user password | `secret` |
|
|
115
|
+
| `SHOPWARE_CLIENT_ID` | Integration Access ID | `SWIA...` |
|
|
116
|
+
| `SHOPWARE_CLIENT_SECRET` | Integration Secret | `...` |
|
|
117
|
+
| `SHOPWARE_GRANT_TYPE` | Auth method | `USER_CREDENTIALS` or `RESOURCE_OWNER` |
|
|
118
|
+
| `SHOPWARE_STORE_API_SW_ACCESS_KEY` | Storefront access key | `SWSC...` |
|
|
119
119
|
|
|
120
120
|
### Loading Configuration
|
|
121
121
|
|
|
@@ -205,18 +205,18 @@ products = client.request_post("product", payload=criteria)
|
|
|
205
205
|
|
|
206
206
|
All request methods accept these parameters:
|
|
207
207
|
|
|
208
|
-
| Parameter
|
|
209
|
-
|
|
210
|
-
| `request_url`
|
|
211
|
-
| `payload`
|
|
212
|
-
| `update_header_fields` | `dict[str, str] \| None`
|
|
208
|
+
| Parameter | Type | Description |
|
|
209
|
+
|------------------------|----------------------------|---------------------------------|
|
|
210
|
+
| `request_url` | `str` | API endpoint (without base URL) |
|
|
211
|
+
| `payload` | `dict \| Criteria \| None` | Request body |
|
|
212
|
+
| `update_header_fields` | `dict[str, str] \| None` | Custom headers |
|
|
213
213
|
|
|
214
214
|
Admin API methods also support:
|
|
215
215
|
|
|
216
|
-
| Parameter
|
|
217
|
-
|
|
218
|
-
| `content_type`
|
|
219
|
-
| `additional_query_params` | `dict` | URL query parameters
|
|
216
|
+
| Parameter | Type | Description |
|
|
217
|
+
|---------------------------|--------|---------------------------------------|
|
|
218
|
+
| `content_type` | `str` | Content type (`json`, `octet-stream`) |
|
|
219
|
+
| `additional_query_params` | `dict` | URL query parameters |
|
|
220
220
|
|
|
221
221
|
### Custom Headers
|
|
222
222
|
|
|
@@ -389,10 +389,10 @@ except ShopwareAPIError as e:
|
|
|
389
389
|
|
|
390
390
|
### Exception Types
|
|
391
391
|
|
|
392
|
-
| Exception
|
|
393
|
-
|
|
392
|
+
| Exception | When Raised |
|
|
393
|
+
|----------------------|-------------------------------------------------|
|
|
394
394
|
| `ConfigurationError` | Missing .env file, invalid configuration values |
|
|
395
|
-
| `ShopwareAPIError`
|
|
395
|
+
| `ShopwareAPIError` | HTTP errors from the API (4xx, 5xx responses) |
|
|
396
396
|
|
|
397
397
|
---
|
|
398
398
|
|
|
@@ -26,7 +26,7 @@ name = "lib_shopware6_api_base"
|
|
|
26
26
|
#: Human-readable summary shown in CLI help output.
|
|
27
27
|
title = "python3 base API client for shopware6"
|
|
28
28
|
#: Current release version pulled from ``pyproject.toml`` by automation.
|
|
29
|
-
version = "3.1.
|
|
29
|
+
version = "3.1.3"
|
|
30
30
|
#: Repository homepage presented to users.
|
|
31
31
|
homepage = "https://github.com/bitranox/lib_shopware6_api_base"
|
|
32
32
|
#: Author attribution surfaced in CLI output.
|
{lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/.devcontainer/devcontainer.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/.github/workflows/cicd_docker.yml
RENAMED
|
File without changes
|
{lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/.github/workflows/codeql-analysis.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/src/lib_shopware6_api_base/.gitignore
RENAMED
|
File without changes
|
{lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/src/lib_shopware6_api_base/__init__.py
RENAMED
|
File without changes
|
{lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/src/lib_shopware6_api_base/__main__.py
RENAMED
|
File without changes
|
{lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/src/lib_shopware6_api_base/_compat.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/src/lib_shopware6_api_base/py.typed
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/tests/test_criteria_aggregation.py
RENAMED
|
File without changes
|
|
File without changes
|
{lib_shopware6_api_base-3.1.2 → lib_shopware6_api_base-3.1.3}/tests/test_criteria_sorting.py
RENAMED
|
File without changes
|
|
File without changes
|