Commit graph

5 commits

Author SHA1 Message Date
aa7db1a3ab Add mixins for various Lobster REST API client functionalities
- Implement JobsMixin for job-related operations including job overview, execution, and control.
- Implement MediaMixin for media management, including creation, updating, and file uploads.
- Implement ProductGroupsMixin for handling product groups, including bulk operations and hierarchy retrieval.
- Implement ProductsMixin for product management, including bulk creation and updates.
- Implement ProtocolsMixin for protocol-related operations, including retrieval by job ID and category.
- Implement TextMixin for managing text entries, including bulk operations.
- Implement TreeGroupsMixin for tree group management, including bulk operations and hierarchy retrieval.
2026-03-24 16:12:58 +01:00
9dce7787b1 fix: Update parameter names in examples and tests for consistency with API specification 2026-02-20 10:38:06 +01:00
8d4fcc7d11 Implement Lobster PIM Legacy REST API client with authentication, job control, and protocol access
- Added `rest_api` module with client and authentication classes.
- Implemented `LobsterRestApiClient` for interacting with the REST API.
- Created models for job and protocol responses using Pydantic.
- Developed examples demonstrating basic usage, API token authentication, job execution, and error handling.
- Added unit tests for authentication and client methods, including error handling scenarios.
2026-02-20 10:35:34 +01:00
b8f889f224 feat: Implement webhook retry logic and server examples
- Added retry logic for webhook event delivery in `retry.py` with exponential backoff.
- Created example webhook server implementations in `server.py` for Flask and FastAPI.
- Developed comprehensive examples for using the Elytra webhooks subpackage in `webhook_examples.py`.
- Introduced unit tests for webhook functionality, including event handling, authentication, and retry logic in `test_webhooks.py`.
2026-02-20 10:08:07 +01:00
05fca294f9 Add initial project structure and tests for Elytra PIM Client
- Created pyproject.toml for project metadata and dependencies.
- Added requirements.txt for development and production dependencies.
- Implemented basic test structure in the tests module.
- Developed unit tests for ElytraClient, including Pydantic validation and error handling.
2026-02-20 09:08:43 +01:00