v0.3.0
What's Changed
- Common Resources API's: complete documentation with python examples and json static files: Profiles, Invoices, Product Selector, Elegibility, Change History, Localization, Audiences, Portfolios and Insights
- Take out of the tree in first Level documentation: Amazon Attribution open Beta, Brand Metrics open Beta and Advertising Test Account to follow the original Amazon structure
- Added some exceptions in client for Invalid request and Too Many Requests found was uncaught by the check on the response
- Added decorator load_all_categories in utils.py used in the example of Audiences when retrieving a large amount of audiences that exceed the maxResults api. Also used in the Insights example where the overlapping audiences are too many and te api returns a NextToken to continue the query to complete the whole data set.
- Enums CurrencySymbols, Locales, Currencies and MarketplacesIds are added in the marketplaces.py to support obtain the MarketplaceId ('A1RKKUPIHCS9HS') by country_code ('ES'), and needed to extend in the get_currency_extended method in Localization adding a {currency": "JPY"} to interpreter better the data obtained from the API
- DEP(deps): Update setuptools requirement from ~=62.0.0 to ~=62.1.0 by @dependabot in #40
Full Changelog: v0.2.9...v0.3.0