Skip to content

Remove deprecated Product Advertising API (PAAPI) module - #153

Merged
sergioteula merged 2 commits into
masterfrom
claude/remove-amazon-paapi-legacy-ujf6tz
Sep 3, 2026
Merged

Remove deprecated Product Advertising API (PAAPI) module#153
sergioteula merged 2 commits into
masterfrom
claude/remove-amazon-paapi-legacy-ujf6tz

Conversation

@sergioteula

Copy link
Copy Markdown
Owner

Summary

This PR removes the entire amazon_paapi module, which provided a wrapper for Amazon's legacy Product Advertising API 5.0. The module has been deprecated in favor of the amazon_creatorsapi module, which is the primary focus of this project going forward.

Key Changes

  • Removed entire amazon_paapi package including:

    • Core API client (sdk/api_client.py, sdk/api/default_api.py)
    • Configuration and authentication modules (sdk/configuration.py, sdk/auth/)
    • 100+ model classes for API requests/responses
    • Helper modules for requests, arguments, and item management
    • Custom exception classes
    • Main API wrapper class (api.py)
    • Tools and utilities
    • All associated tests
  • Updated configuration files:

    • Removed PAAPI-specific environment variables from .env.template (API_KEY, API_SECRET)
    • Updated GitHub Actions workflow to remove PAAPI secrets
    • Updated Makefile coverage targets to focus on amazon_creatorsapi
    • Updated pre-commit configuration to reference only amazon_creatorsapi
  • Updated documentation:

    • Modified README to remove references to PAAPI
    • Updated code style guide to reference amazon_creatorsapi instead of amazon_paapi
    • Removed PAAPI migration guide
  • Updated CHANGELOG.md to document this deprecation

Implementation Details

This is a clean removal of deprecated code with no functional changes to the active amazon_creatorsapi module. All PAAPI-related tests, models, and utilities have been completely removed to reduce maintenance burden and clarify the project's focus.

https://claude.ai/code/session_017tt3keqqTMqgirkJezEVU8

Drop the legacy Product Advertising API 5.0 wrapper and its bundled SDK,
leaving amazon_creatorsapi as the only public API. Release as 7.0.0.

- Delete the amazon_paapi package and its test suite
- Delete the PAAPI documentation and the version 6 migration guide
- Drop the API_KEY/API_SECRET credentials, only used by the removed module
- Narrow the packaging, lint, type-check and coverage config to the
  remaining packages

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tt3keqqTMqgirkJezEVU8
Restore docs/pages/migration-guide-6.md and its entry in the docs index.
It is the upgrade path for users of the removed amazon_paapi module, so
reword it to describe that module as removed in 7.0.0 rather than merely
deprecated.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tt3keqqTMqgirkJezEVU8
@sergioteula
sergioteula merged commit db40d8f into master Sep 3, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants