Skip to content

Releases: admitad/admitad-python-api

Added takefluence_enabled_only parameter in Campaigns.get() for filtering promo code programs

27 Nov 11:37
caedfb9

Choose a tag to compare

What's Changed

  • Add takefluence_enabled_only field to Campaigns item for enhanced fil… by @nnnLik in #16

Full Changelog: 1.3.4.1...1.3.4.2

Added promo_code_programs_only parameter in Campaigns.get() for filtering promo code programs

26 Nov 13:53
6f9dd67

Choose a tag to compare

Enhance WebsitesManageV2 to support name-based website retrieval

11 Nov 15:45
5751c44

Choose a tag to compare

Updated getOne method to accept both website ID and name for retrieval, with a new search_by parameter.
Implemented URL encoding for names to handle special characters.
Added comprehensive test cases to validate functionality for both ID and name searches, including edge cases with special characters.

What's Changed

  • Enhance WebsitesManageV2 to support name-based website retrieval by @nnnLik in #14

Full Changelog: 1.3.3...1.3.4

Add PromoOffersRevocationStatus class and corresponding tests

09 Oct 13:44
f242f6c

Choose a tag to compare

  • Introduced PromoOffersRevocationStatus class to retrieve the revocation status of promo codes for specific offers.
  • Implemented the get method with detailed type hints and Google-style docstrings.
  • Added comprehensive test cases for various scenarios including successful retrieval, error handling for missing or invalid parameters, and handling of empty responses in test_promo_offers.py.
  • Updated imports in test files to include the new class.

1.3.2.1: Merge pull request #12 from nnnLik/bugfix/lenght-of-website-kind

12 Sep 09:03
00befea

Choose a tag to compare

  • Increased the maximum length for the 'kind' field from 20 to 50 characters to accommodate a wider range of values.
  • Ensured consistency with the sanitization method for improved data handling.

1.3.2: Merge pull request #11 from nnnLik/feature/request-promo-code

11 Sep 12:03
eb5cc64

Choose a tag to compare

  • Introduced PromoOfferRequestTrackingCode class for handling request tracking promo codes.
  • Implemented request method with detailed type hints and Google-style docstrings.
  • Added comprehensive test cases for successful requests, error handling, and validation checks in test_promo_offers.py.

Added WebsitesManageV2 API support

03 Sep 08:21
1c97d34

Choose a tag to compare

Added WebsitesManageV2 API support:

  • New WebsitesManageV2 class - implementation of v2 API for enhanced website management
  • Extended website management methods:
    • create() - create website with category and region support
    • update() - update website information
    • verify() - verify website
    • delete() - delete website
    • get() - get websites list with pagination
    • getOne() - get specific website details
  • Enhanced data validation using sanitize_fields for all input parameters
  • Comprehensive test coverage for all new API methods with mock responses
  • Updated v2 API endpoints (/websites/v2/) supporting full CRUD operations

v1.3.0

27 Aug 09:29
7965194

Choose a tag to compare

  • Add PromoOffersForCampaign support and modernize codebase
  • Add PromoOffersForCampaign class for campaign promo offers retrieval
  • Refactor Client and Exception classes to use dataclasses
  • Pin requests dependency to 2.32.5 for stability
  • Add comprehensive test coverage for new functionality
  • Improve type safety with enhanced type hints
  • Support custom API base URL via environment variable

v1.2.0

05 Jun 19:34

Choose a tag to compare

v1.2.0 Pre-release
Pre-release

Add appeal_id, appeal_status to LostOrders
Fix some bugs

Stable release

04 Oct 09:36

Choose a tag to compare

Add new items, remove deprecated code