python-amazon-sp-api 1.5.3__tar.gz → 1.6.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. {python-amazon-sp-api-1.5.3/python_amazon_sp_api.egg-info → python-amazon-sp-api-1.6.3}/PKG-INFO +1 -1
  2. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3/python_amazon_sp_api.egg-info}/PKG-INFO +1 -1
  3. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/python_amazon_sp_api.egg-info/SOURCES.txt +2 -0
  4. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/setup.py +1 -1
  5. python-amazon-sp-api-1.6.3/sp_api/__version__.py +1 -0
  6. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/__init__.py +6 -1
  7. python-amazon-sp-api-1.6.3/sp_api/api/amazon_warehousing_and_distribu/amazon_warehousing_and_distribu.py +123 -0
  8. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/data_kiosk/data_kiosk.py +5 -5
  9. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/auth/access_token_response.py +1 -1
  10. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/base/client.py +4 -1
  11. python-amazon-sp-api-1.6.3/tests/client/__init__.py +0 -0
  12. python-amazon-sp-api-1.5.3/sp_api/__version__.py +0 -1
  13. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/LICENSE +0 -0
  14. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/README.md +0 -0
  15. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/make_endpoint/make_endpoint +0 -0
  16. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/python_amazon_sp_api.egg-info/dependency_links.txt +0 -0
  17. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/python_amazon_sp_api.egg-info/requires.txt +0 -0
  18. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/python_amazon_sp_api.egg-info/top_level.txt +0 -0
  19. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/setup.cfg +0 -0
  20. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/__init__.py +0 -0
  21. {python-amazon-sp-api-1.5.3/sp_api/api/aplus_content → python-amazon-sp-api-1.6.3/sp_api/api/amazon_warehousing_and_distribu}/__init__.py +0 -0
  22. {python-amazon-sp-api-1.5.3/sp_api/api/application_management → python-amazon-sp-api-1.6.3/sp_api/api/aplus_content}/__init__.py +0 -0
  23. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/aplus_content/aplus_content.py +0 -0
  24. {python-amazon-sp-api-1.5.3/sp_api/api/authorization → python-amazon-sp-api-1.6.3/sp_api/api/application_management}/__init__.py +0 -0
  25. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/application_management/application_management.py +0 -0
  26. {python-amazon-sp-api-1.5.3/sp_api/api/catalog → python-amazon-sp-api-1.6.3/sp_api/api/authorization}/__init__.py +0 -0
  27. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/authorization/authorization.py +0 -0
  28. {python-amazon-sp-api-1.5.3/sp_api/api/catalog_items → python-amazon-sp-api-1.6.3/sp_api/api/catalog}/__init__.py +0 -0
  29. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/catalog/catalog.py +0 -0
  30. {python-amazon-sp-api-1.5.3/sp_api/api/data_kiosk → python-amazon-sp-api-1.6.3/sp_api/api/catalog_items}/__init__.py +0 -0
  31. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/catalog_items/catalog_items.py +0 -0
  32. {python-amazon-sp-api-1.5.3/sp_api/api/fba_inbound_eligibility → python-amazon-sp-api-1.6.3/sp_api/api/data_kiosk}/__init__.py +0 -0
  33. {python-amazon-sp-api-1.5.3/sp_api/api/fba_small_and_light → python-amazon-sp-api-1.6.3/sp_api/api/fba_inbound_eligibility}/__init__.py +0 -0
  34. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/fba_inbound_eligibility/fba_inbound_eligibility.py +0 -0
  35. {python-amazon-sp-api-1.5.3/sp_api/api/feeds → python-amazon-sp-api-1.6.3/sp_api/api/fba_small_and_light}/__init__.py +0 -0
  36. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/fba_small_and_light/fba_small_and_light.py +0 -0
  37. {python-amazon-sp-api-1.5.3/sp_api/api/finances → python-amazon-sp-api-1.6.3/sp_api/api/feeds}/__init__.py +0 -0
  38. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/feeds/feeds.py +0 -0
  39. {python-amazon-sp-api-1.5.3/sp_api/api/fulfillment_inbound → python-amazon-sp-api-1.6.3/sp_api/api/finances}/__init__.py +0 -0
  40. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/finances/finances.py +0 -0
  41. {python-amazon-sp-api-1.5.3/sp_api/api/fulfillment_outbound → python-amazon-sp-api-1.6.3/sp_api/api/fulfillment_inbound}/__init__.py +0 -0
  42. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/fulfillment_inbound/fulfillment_inbound.py +0 -0
  43. {python-amazon-sp-api-1.5.3/sp_api/api/inventories → python-amazon-sp-api-1.6.3/sp_api/api/fulfillment_outbound}/__init__.py +0 -0
  44. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/fulfillment_outbound/fulfillment_outbound.py +0 -0
  45. {python-amazon-sp-api-1.5.3/sp_api/api/listings_items → python-amazon-sp-api-1.6.3/sp_api/api/inventories}/__init__.py +0 -0
  46. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/inventories/inventories.py +0 -0
  47. {python-amazon-sp-api-1.5.3/sp_api/api/listings_restrictions → python-amazon-sp-api-1.6.3/sp_api/api/listings_items}/__init__.py +0 -0
  48. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/listings_items/listings_items.py +0 -0
  49. {python-amazon-sp-api-1.5.3/sp_api/api/merchant_fulfillment → python-amazon-sp-api-1.6.3/sp_api/api/listings_restrictions}/__init__.py +0 -0
  50. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/listings_restrictions/listings_restrictions.py +0 -0
  51. {python-amazon-sp-api-1.5.3/sp_api/api/messaging → python-amazon-sp-api-1.6.3/sp_api/api/merchant_fulfillment}/__init__.py +0 -0
  52. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/merchant_fulfillment/merchant_fulfillment.py +0 -0
  53. {python-amazon-sp-api-1.5.3/sp_api/api/notifications → python-amazon-sp-api-1.6.3/sp_api/api/messaging}/__init__.py +0 -0
  54. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/messaging/messaging.py +0 -0
  55. {python-amazon-sp-api-1.5.3/sp_api/api/orders → python-amazon-sp-api-1.6.3/sp_api/api/notifications}/__init__.py +0 -0
  56. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/notifications/notifications.py +0 -0
  57. {python-amazon-sp-api-1.5.3/sp_api/api/product_fees → python-amazon-sp-api-1.6.3/sp_api/api/orders}/__init__.py +0 -0
  58. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/orders/orders.py +0 -0
  59. {python-amazon-sp-api-1.5.3/sp_api/api/product_type_definitions → python-amazon-sp-api-1.6.3/sp_api/api/product_fees}/__init__.py +0 -0
  60. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/product_fees/product_fees.py +0 -0
  61. {python-amazon-sp-api-1.5.3/sp_api/api/products → python-amazon-sp-api-1.6.3/sp_api/api/product_type_definitions}/__init__.py +0 -0
  62. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/product_type_definitions/product_type_definitions.py +0 -0
  63. {python-amazon-sp-api-1.5.3/sp_api/api/replenishment → python-amazon-sp-api-1.6.3/sp_api/api/products}/__init__.py +0 -0
  64. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/products/products.py +0 -0
  65. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/products/products_definitions.py +0 -0
  66. {python-amazon-sp-api-1.5.3/sp_api/api/reports → python-amazon-sp-api-1.6.3/sp_api/api/replenishment}/__init__.py +0 -0
  67. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/replenishment/replenishment.py +0 -0
  68. {python-amazon-sp-api-1.5.3/sp_api/api/sales → python-amazon-sp-api-1.6.3/sp_api/api/reports}/__init__.py +0 -0
  69. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/reports/reports.py +0 -0
  70. {python-amazon-sp-api-1.5.3/sp_api/api/sellers → python-amazon-sp-api-1.6.3/sp_api/api/sales}/__init__.py +0 -0
  71. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/sales/sales.py +0 -0
  72. {python-amazon-sp-api-1.5.3/sp_api/api/services → python-amazon-sp-api-1.6.3/sp_api/api/sellers}/__init__.py +0 -0
  73. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/sellers/sellers.py +0 -0
  74. {python-amazon-sp-api-1.5.3/sp_api/api/shipping → python-amazon-sp-api-1.6.3/sp_api/api/services}/__init__.py +0 -0
  75. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/services/services.py +0 -0
  76. {python-amazon-sp-api-1.5.3/sp_api/api/solicitations → python-amazon-sp-api-1.6.3/sp_api/api/shipping}/__init__.py +0 -0
  77. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/shipping/shipping.py +0 -0
  78. {python-amazon-sp-api-1.5.3/sp_api/api/supply_sources → python-amazon-sp-api-1.6.3/sp_api/api/solicitations}/__init__.py +0 -0
  79. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/solicitations/solicitations.py +0 -0
  80. {python-amazon-sp-api-1.5.3/sp_api/api/tokens → python-amazon-sp-api-1.6.3/sp_api/api/supply_sources}/__init__.py +0 -0
  81. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/supply_sources/supply_sources.py +0 -0
  82. {python-amazon-sp-api-1.5.3/sp_api/api/upload → python-amazon-sp-api-1.6.3/sp_api/api/tokens}/__init__.py +0 -0
  83. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/tokens/tokens.py +0 -0
  84. {python-amazon-sp-api-1.5.3/sp_api/api/vendor_direct_fulfillment_inventory → python-amazon-sp-api-1.6.3/sp_api/api/upload}/__init__.py +0 -0
  85. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/upload/upload.py +0 -0
  86. {python-amazon-sp-api-1.5.3/sp_api/api/vendor_direct_fulfillment_orders → python-amazon-sp-api-1.6.3/sp_api/api/vendor_direct_fulfillment_inventory}/__init__.py +0 -0
  87. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/vendor_direct_fulfillment_inventory/vendor_direct_fulfillment_inventory.py +0 -0
  88. {python-amazon-sp-api-1.5.3/sp_api/api/vendor_direct_fulfillment_payments → python-amazon-sp-api-1.6.3/sp_api/api/vendor_direct_fulfillment_orders}/__init__.py +0 -0
  89. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/vendor_direct_fulfillment_orders/vendor_direct_fulfillment_orders.py +0 -0
  90. {python-amazon-sp-api-1.5.3/sp_api/api/vendor_direct_fulfillment_shipping → python-amazon-sp-api-1.6.3/sp_api/api/vendor_direct_fulfillment_payments}/__init__.py +0 -0
  91. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/vendor_direct_fulfillment_payments/vendor_direct_fulfillment_payments.py +0 -0
  92. {python-amazon-sp-api-1.5.3/sp_api/api/vendor_direct_fulfillment_transactions → python-amazon-sp-api-1.6.3/sp_api/api/vendor_direct_fulfillment_shipping}/__init__.py +0 -0
  93. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/vendor_direct_fulfillment_shipping/vendor_direct_fulfillment_shipping.py +0 -0
  94. {python-amazon-sp-api-1.5.3/sp_api/api/vendor_invoices → python-amazon-sp-api-1.6.3/sp_api/api/vendor_direct_fulfillment_transactions}/__init__.py +0 -0
  95. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/vendor_direct_fulfillment_transactions/vendor_direct_fulfillment_transactions.py +0 -0
  96. {python-amazon-sp-api-1.5.3/sp_api/api/vendor_orders → python-amazon-sp-api-1.6.3/sp_api/api/vendor_invoices}/__init__.py +0 -0
  97. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/vendor_invoices/vendor_invoices.py +0 -0
  98. {python-amazon-sp-api-1.5.3/sp_api/api/vendor_shipments → python-amazon-sp-api-1.6.3/sp_api/api/vendor_orders}/__init__.py +0 -0
  99. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/vendor_orders/vendor_orders.py +0 -0
  100. {python-amazon-sp-api-1.5.3/sp_api/api/vendor_transaction_status → python-amazon-sp-api-1.6.3/sp_api/api/vendor_shipments}/__init__.py +0 -0
  101. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/vendor_shipments/vendor_shipments.py +0 -0
  102. {python-amazon-sp-api-1.5.3/tests → python-amazon-sp-api-1.6.3/sp_api/api/vendor_transaction_status}/__init__.py +0 -0
  103. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/api/vendor_transaction_status/vendor_transaction_status.py +0 -0
  104. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/auth/__init__.py +0 -0
  105. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/auth/access_token_client.py +0 -0
  106. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/auth/credentials.py +0 -0
  107. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/auth/exceptions.py +0 -0
  108. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/base/ApiResponse.py +0 -0
  109. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/base/InventoryEnums.py +0 -0
  110. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/base/__init__.py +0 -0
  111. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/base/base_client.py +0 -0
  112. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/base/credential_provider.py +0 -0
  113. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/base/exceptions.py +0 -0
  114. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/base/feedTypes.py +0 -0
  115. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/base/fulfillment_channel.py +0 -0
  116. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/base/helpers.py +0 -0
  117. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/base/identifiersType.py +0 -0
  118. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/base/included_data.py +0 -0
  119. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/base/inegibility_reasons.py +0 -0
  120. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/base/marketplaces.py +0 -0
  121. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/base/notifications.py +0 -0
  122. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/base/processing_status.py +0 -0
  123. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/base/reportTypes.py +0 -0
  124. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/base/report_status.py +0 -0
  125. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/base/sales_enum.py +0 -0
  126. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/base/schedules.py +0 -0
  127. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/util/__init__.py +0 -0
  128. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/util/key_maker.py +0 -0
  129. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/util/load_all_pages.py +0 -0
  130. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/util/load_date_bound.py +0 -0
  131. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/sp_api/util/retry.py +0 -0
  132. {python-amazon-sp-api-1.5.3/tests/api → python-amazon-sp-api-1.6.3/tests}/__init__.py +0 -0
  133. {python-amazon-sp-api-1.5.3/tests/api/finances → python-amazon-sp-api-1.6.3/tests/api}/__init__.py +0 -0
  134. {python-amazon-sp-api-1.5.3/tests/api/notifications → python-amazon-sp-api-1.6.3/tests/api/finances}/__init__.py +0 -0
  135. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/tests/api/finances/test_finances.py +0 -0
  136. {python-amazon-sp-api-1.5.3/tests/api/orders → python-amazon-sp-api-1.6.3/tests/api/notifications}/__init__.py +0 -0
  137. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/tests/api/notifications/test_notifications.py +0 -0
  138. {python-amazon-sp-api-1.5.3/tests/api/product_fees → python-amazon-sp-api-1.6.3/tests/api/orders}/__init__.py +0 -0
  139. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/tests/api/orders/test_orders.py +0 -0
  140. {python-amazon-sp-api-1.5.3/tests/api/reports → python-amazon-sp-api-1.6.3/tests/api/product_fees}/__init__.py +0 -0
  141. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/tests/api/product_fees/product_fees.py +0 -0
  142. {python-amazon-sp-api-1.5.3/tests/api/sellers → python-amazon-sp-api-1.6.3/tests/api/reports}/__init__.py +0 -0
  143. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/tests/api/reports/test_reports.py +0 -0
  144. {python-amazon-sp-api-1.5.3/tests/client → python-amazon-sp-api-1.6.3/tests/api/sellers}/__init__.py +0 -0
  145. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/tests/api/sellers/test_sellers.py +0 -0
  146. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/tests/client/test_auth.py +0 -0
  147. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/tests/client/test_base.py +0 -0
  148. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/tests/client/test_credential_provider.py +0 -0
  149. {python-amazon-sp-api-1.5.3 → python-amazon-sp-api-1.6.3}/tests/client/test_helpers.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-amazon-sp-api
3
- Version: 1.5.3
3
+ Version: 1.6.3
4
4
  Summary: Python wrapper for the Amazon Selling-Partner API
5
5
  Home-page: https://github.com/saleweaver/python-amazon-sp-api
6
6
  Author: Michael
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-amazon-sp-api
3
- Version: 1.5.3
3
+ Version: 1.6.3
4
4
  Summary: Python wrapper for the Amazon Selling-Partner API
5
5
  Home-page: https://github.com/saleweaver/python-amazon-sp-api
6
6
  Author: Michael
@@ -11,6 +11,8 @@ python_amazon_sp_api.egg-info/top_level.txt
11
11
  sp_api/__init__.py
12
12
  sp_api/__version__.py
13
13
  sp_api/api/__init__.py
14
+ sp_api/api/amazon_warehousing_and_distribu/__init__.py
15
+ sp_api/api/amazon_warehousing_and_distribu/amazon_warehousing_and_distribu.py
14
16
  sp_api/api/aplus_content/__init__.py
15
17
  sp_api/api/aplus_content/aplus_content.py
16
18
  sp_api/api/application_management/__init__.py
@@ -41,7 +41,7 @@ setup(
41
41
  'sp_api.util',
42
42
  ##### DO NOT DELETE ########## INSERT PACKAGE HERE #######
43
43
  'sp_api.api.listings_restrictions',
44
-
44
+ 'sp_api.api.amazon_warehousing_and_distribu',
45
45
  'sp_api.api.catalog_items',
46
46
  'sp_api.api.product_type_definitions',
47
47
  'sp_api.api.listings_items',
@@ -0,0 +1 @@
1
+ __version__ = '1.6.3'
@@ -74,6 +74,9 @@ from .data_kiosk.data_kiosk import DataKiosk
74
74
 
75
75
  from .application_management.application_management import ApplicationManagement
76
76
 
77
+ from .amazon_warehousing_and_distribu.amazon_warehousing_and_distribu import AmazonWarehousingAndDistribution
78
+
79
+
77
80
  __all__ = [
78
81
  "Sales",
79
82
  "Products",
@@ -148,6 +151,8 @@ __all__ = [
148
151
 
149
152
  "DataKiosk",
150
153
 
151
- "ApplicationManagement"
154
+ "ApplicationManagement",
155
+
156
+ "AmazonWarehousingAndDistribution"
152
157
 
153
158
  ]
@@ -0,0 +1,123 @@
1
+ import enum
2
+ import urllib.parse
3
+
4
+ from sp_api.base import Client, sp_endpoint, fill_query_params, ApiResponse
5
+
6
+
7
+ class AmazonWarehousingAndDistributionVersion(enum.Enum):
8
+ V_2024_05_09 = "2024-05-09"
9
+ LATEST = "2024-05-09"
10
+
11
+
12
+ class AmazonWarehousingAndDistribution(Client):
13
+ """
14
+ AmazonWarehousingAndDistribu SP-API Client
15
+ :link:
16
+
17
+ The Selling Partner API for Amazon Warehousing and Distribution (AWD).
18
+ """
19
+
20
+ version: AmazonWarehousingAndDistributionVersion = AmazonWarehousingAndDistributionVersion.V_2024_05_09
21
+
22
+ def __init__(self, *args, **kwargs):
23
+ if 'version' in kwargs:
24
+ self.version = kwargs.get('version', AmazonWarehousingAndDistributionVersion.V_2024_05_09)
25
+ super().__init__(*args, **{**kwargs, 'version': self.version})
26
+
27
+ @sp_endpoint('/awd/<version>/inboundShipments/{}', method='GET')
28
+ def get_inbound_shipment(self, shipmentId, **kwargs) -> ApiResponse:
29
+ """
30
+ get_inbound_shipment(self, shipmentId, **kwargs) -> ApiResponse
31
+
32
+ Retrieves an AWD inbound shipment.
33
+
34
+ **Usage Plan:**
35
+
36
+ | Rate (requests per second) | Burst |
37
+ | ---- | ---- |
38
+ | 2 | 2 |
39
+
40
+ The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api)
41
+
42
+ Args:
43
+
44
+ shipmentId:string | * REQUIRED ID for the shipment. A shipment contains the cases being inbounded.
45
+
46
+
47
+ Returns:
48
+ ApiResponse:
49
+ """
50
+
51
+ return self._request(fill_query_params(kwargs.pop('path'), shipmentId), params=kwargs)
52
+
53
+ @sp_endpoint('/awd/<version>/inboundShipments', method='GET')
54
+ def list_inbound_shipments(self, **kwargs) -> ApiResponse:
55
+ """
56
+ list_inbound_shipments(self, **kwargs) -> ApiResponse
57
+
58
+ Retrieves a summary for all the inbound AWD shipments associated with a merchant, with the ability to apply optional filters.
59
+
60
+ **Usage Plan:**
61
+
62
+ | Rate (requests per second) | Burst |
63
+ | ---- | ---- |
64
+ | 1 | 1 |
65
+
66
+ The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
67
+
68
+ Args:
69
+
70
+ key sortBy:string | Field to sort results by. Required if `sortOrder` is provided.
71
+
72
+ key sortOrder:string | Sort the response in `ASCENDING` or `DESCENDING` order.
73
+
74
+ key shipmentStatus:string | Filter by inbound shipment status.
75
+
76
+ key updatedAfter:string | List the inbound shipments that were updated after a certain time (inclusive). The date must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format.
77
+
78
+ key updatedBefore:string | List the inbound shipments that were updated before a certain time (inclusive). The date must be in <a href='https://developer-docs.amazon.com/sp-api/docs/iso-8601'>ISO 8601</a> format.
79
+
80
+ key maxResults:integer | Maximum number of results to return.
81
+
82
+ key nextToken:string | Token to retrieve the next set of paginated results.
83
+
84
+
85
+ Returns:
86
+ ApiResponse:
87
+ """
88
+
89
+ return self._request(kwargs.pop('path'), params=kwargs)
90
+
91
+ @sp_endpoint('/awd/<version>/inventory', method='GET')
92
+ def list_inventory(self, **kwargs) -> ApiResponse:
93
+ """
94
+ list_inventory(self, **kwargs) -> ApiResponse
95
+
96
+ Lists AWD inventory associated with a merchant with the ability to apply optional filters.
97
+
98
+ **Usage Plan:**
99
+
100
+ | Rate (requests per second) | Burst |
101
+ | ---- | ---- |
102
+ | 2 | 2 |
103
+
104
+ The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
105
+
106
+ Args:
107
+
108
+ key sku:string | Filter by seller or merchant SKU for the item.
109
+
110
+ key sortOrder:string | Sort the response in `ASCENDING` or `DESCENDING` order.
111
+
112
+ key details:string | Set to `SHOW` to return summaries with additional inventory details. Defaults to `HIDE,` which returns only inventory summary totals.
113
+
114
+ key nextToken:string | Token to retrieve the next set of paginated results.
115
+
116
+ key maxResults:integer | Maximum number of results to return.
117
+
118
+
119
+ Returns:
120
+ ApiResponse:
121
+ """
122
+
123
+ return self._request(kwargs.pop('path'), params=kwargs)
@@ -48,7 +48,7 @@ class DataKiosk(Client):
48
48
  ApiResponse:
49
49
  """
50
50
 
51
- return self._request(kwargs.pop('path'), params=kwargs)
51
+ return self._request(kwargs.pop('path'), params=kwargs, add_marketplace=False)
52
52
 
53
53
  @sp_endpoint('/dataKiosk/2023-11-15/queries', method='POST')
54
54
  def create_query(self, query, pagination_token=None, **kwargs) -> ApiResponse:
@@ -82,7 +82,7 @@ class DataKiosk(Client):
82
82
  kwargs['query'] = query
83
83
  if pagination_token:
84
84
  kwargs['paginationToken'] = pagination_token
85
- return self._request(kwargs.pop('path'), data=kwargs)
85
+ return self._request(kwargs.pop('path'), data=kwargs, add_marketplace=False)
86
86
 
87
87
  @sp_endpoint('/dataKiosk/2023-11-15/queries/{}', method='DELETE')
88
88
  def cancel_query(self, query_id, **kwargs) -> ApiResponse:
@@ -110,7 +110,7 @@ class DataKiosk(Client):
110
110
  ApiResponse:
111
111
  """
112
112
 
113
- return self._request(fill_query_params(kwargs.pop('path'), query_id), data=kwargs)
113
+ return self._request(fill_query_params(kwargs.pop('path'), query_id), data=kwargs, add_marketplace=False)
114
114
 
115
115
  @sp_endpoint('/dataKiosk/2023-11-15/queries/{}', method='GET')
116
116
  def get_query(self, query_id, **kwargs) -> ApiResponse:
@@ -138,7 +138,7 @@ class DataKiosk(Client):
138
138
  ApiResponse:
139
139
  """
140
140
 
141
- return self._request(fill_query_params(kwargs.pop('path'), query_id), params=kwargs)
141
+ return self._request(fill_query_params(kwargs.pop('path'), query_id), params=kwargs, add_marketplace=False)
142
142
 
143
143
  @sp_endpoint('/dataKiosk/2023-11-15/documents/{}', method='GET')
144
144
  def get_document(self, document_id, download: bool = False, file: Union[BytesIO, str, BinaryIO, TextIO] = None,
@@ -170,7 +170,7 @@ class DataKiosk(Client):
170
170
  ApiResponse:
171
171
  """
172
172
 
173
- res = self._request(fill_query_params(kwargs.pop('path'), document_id), params=kwargs)
173
+ res = self._request(fill_query_params(kwargs.pop('path'), document_id), params=kwargs, add_marketplace=False)
174
174
  if download or file or ('decrypt' in kwargs and kwargs['decrypt']):
175
175
  import requests
176
176
  document_response = requests.get(
@@ -2,5 +2,5 @@ class AccessTokenResponse:
2
2
  def __init__(self, **kwargs):
3
3
  self.access_token = kwargs.get('access_token')
4
4
  self.refresh_token = kwargs.get('refresh_token')
5
- self.expires_in = kwargs.get('expires')
5
+ self.expires_in = kwargs.get('expires_in')
6
6
  self.token_type = kwargs.get('token_type')
@@ -19,8 +19,9 @@ log = logging.getLogger(__name__)
19
19
 
20
20
  def show_donation_message():
21
21
  import os
22
- if os.environ.get('ENV_DISABLE_DONATION_MSG'):
22
+ if os.environ.get('ENV_DISABLE_DONATION_MSG', 0) == '1':
23
23
  return
24
+
24
25
  print("🌟 Thank you for using python-amazon-sp-api! 🌟")
25
26
  print("This tool helps developers and businesses connect seamlessly with Amazon's vast marketplace,")
26
27
  print("enabling powerful automations and data management.")
@@ -142,6 +143,8 @@ class Client(BaseClient):
142
143
  exception = get_exception_for_code(res.status_code)
143
144
  raise exception(error, headers=res.headers)
144
145
 
146
+ show_donation_message()
147
+
145
148
  return ApiResponse(**js, headers=res.headers)
146
149
 
147
150
  def _add_marketplaces(self, data):
File without changes
@@ -1 +0,0 @@
1
- __version__ = '1.5.3'