Skip to content

Add async support to Creators API#143

Merged
sergioteula merged 20 commits intomasterfrom
add-async-support
Feb 9, 2026
Merged

Add async support to Creators API#143
sergioteula merged 20 commits intomasterfrom
add-async-support

Conversation

@sergioteula
Copy link
Owner

This PR introduces full async support to the amazon_creatorsapi library, enabling non-blocking interactions with the Amazon API using async/await.

Key Changes:

📦 New amazon_creatorsapi.aio subpackage: Dedicated namespace for async logic, ensuring a clean separation from the synchronous implementation.
⚡ AsyncAmazonCreatorsApi: New main class for performing asynchronous API requests.
🌐 httpx Integration: Added httpx as an optional dependency to handle the async HTTP client.
🔐 Error Handling: Added AuthenticationError to errors.py to improve handling of OAuth2 authentication failures.
✅ Comprehensive Tests: Included a full test suite in tests/amazon_creatorsapi/aio/ covering client, authentication, and integration.

@sergioteula sergioteula self-assigned this Feb 4, 2026
@sergioteula sergioteula added the feature New feature or request label Feb 4, 2026
@sergioteula sergioteula changed the title DRAFT: Add async support to Creators API Add async support to Creators API Feb 8, 2026
@sergioteula sergioteula merged commit d9a407e into master Feb 9, 2026
8 checks passed
@sergioteula sergioteula deleted the add-async-support branch February 9, 2026 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant