python-amazon-paapi 6.2.0__py3-none-any.whl → 6.3.0__py3-none-any.whl
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.
- amazon_creatorsapi/aio/api.py +5 -0
- amazon_creatorsapi/api.py +4 -0
- {python_amazon_paapi-6.2.0.dist-info → python_amazon_paapi-6.3.0.dist-info}/METADATA +1 -1
- {python_amazon_paapi-6.2.0.dist-info → python_amazon_paapi-6.3.0.dist-info}/RECORD +6 -6
- {python_amazon_paapi-6.2.0.dist-info → python_amazon_paapi-6.3.0.dist-info}/WHEEL +0 -0
- {python_amazon_paapi-6.2.0.dist-info → python_amazon_paapi-6.3.0.dist-info}/licenses/LICENSE +0 -0
amazon_creatorsapi/aio/api.py
CHANGED
|
@@ -41,6 +41,7 @@ if TYPE_CHECKING:
|
|
|
41
41
|
|
|
42
42
|
from amazon_creatorsapi.core.marketplaces import CountryCode
|
|
43
43
|
from creatorsapi_python_sdk.models.condition import Condition
|
|
44
|
+
from creatorsapi_python_sdk.models.delivery_flag import DeliveryFlag
|
|
44
45
|
from creatorsapi_python_sdk.models.sort_by import SortBy
|
|
45
46
|
|
|
46
47
|
from creatorsapi_python_sdk.models.browse_node import BrowseNode
|
|
@@ -245,6 +246,7 @@ class AsyncAmazonCreatorsApi:
|
|
|
245
246
|
item_page: int | None = None,
|
|
246
247
|
condition: Condition | None = None,
|
|
247
248
|
currency_of_preference: str | None = None,
|
|
249
|
+
delivery_flags: list[DeliveryFlag] | None = None,
|
|
248
250
|
languages_of_preference: list[str] | None = None,
|
|
249
251
|
max_price: int | None = None,
|
|
250
252
|
min_price: int | None = None,
|
|
@@ -271,6 +273,7 @@ class AsyncAmazonCreatorsApi:
|
|
|
271
273
|
item_page: Page of items to return (1-10). Defaults to 1.
|
|
272
274
|
condition: Filter offers by condition type.
|
|
273
275
|
currency_of_preference: ISO 4217 currency code for prices.
|
|
276
|
+
delivery_flags: Delivery programs to filter search results by.
|
|
274
277
|
languages_of_preference: Languages in order of preference.
|
|
275
278
|
max_price: Max price in lowest currency denomination.
|
|
276
279
|
min_price: Min price in lowest currency denomination.
|
|
@@ -319,6 +322,8 @@ class AsyncAmazonCreatorsApi:
|
|
|
319
322
|
request_body["condition"] = condition.value
|
|
320
323
|
if currency_of_preference is not None:
|
|
321
324
|
request_body["currencyOfPreference"] = currency_of_preference
|
|
325
|
+
if delivery_flags is not None:
|
|
326
|
+
request_body["deliveryFlags"] = [flag.value for flag in delivery_flags]
|
|
322
327
|
if languages_of_preference is not None:
|
|
323
328
|
request_body["languagesOfPreference"] = languages_of_preference
|
|
324
329
|
if max_price is not None:
|
amazon_creatorsapi/api.py
CHANGED
|
@@ -40,6 +40,7 @@ if TYPE_CHECKING:
|
|
|
40
40
|
from amazon_creatorsapi.core.marketplaces import CountryCode
|
|
41
41
|
from creatorsapi_python_sdk.models.browse_node import BrowseNode
|
|
42
42
|
from creatorsapi_python_sdk.models.condition import Condition
|
|
43
|
+
from creatorsapi_python_sdk.models.delivery_flag import DeliveryFlag
|
|
43
44
|
from creatorsapi_python_sdk.models.item import Item
|
|
44
45
|
from creatorsapi_python_sdk.models.search_result import SearchResult
|
|
45
46
|
from creatorsapi_python_sdk.models.sort_by import SortBy
|
|
@@ -171,6 +172,7 @@ class AmazonCreatorsApi:
|
|
|
171
172
|
item_page: int | None = None,
|
|
172
173
|
condition: Condition | None = None,
|
|
173
174
|
currency_of_preference: str | None = None,
|
|
175
|
+
delivery_flags: list[DeliveryFlag] | None = None,
|
|
174
176
|
languages_of_preference: list[str] | None = None,
|
|
175
177
|
max_price: int | None = None,
|
|
176
178
|
min_price: int | None = None,
|
|
@@ -197,6 +199,7 @@ class AmazonCreatorsApi:
|
|
|
197
199
|
item_page: Page of items to return (1-10). Defaults to 1.
|
|
198
200
|
condition: Filter offers by condition type.
|
|
199
201
|
currency_of_preference: ISO 4217 currency code for prices.
|
|
202
|
+
delivery_flags: Delivery programs to filter search results by.
|
|
200
203
|
languages_of_preference: Languages in order of preference.
|
|
201
204
|
max_price: Max price in lowest currency denomination.
|
|
202
205
|
min_price: Min price in lowest currency denomination.
|
|
@@ -229,6 +232,7 @@ class AmazonCreatorsApi:
|
|
|
229
232
|
itemPage=item_page,
|
|
230
233
|
condition=condition,
|
|
231
234
|
currencyOfPreference=currency_of_preference,
|
|
235
|
+
deliveryFlags=delivery_flags,
|
|
232
236
|
languagesOfPreference=languages_of_preference,
|
|
233
237
|
maxPrice=max_price,
|
|
234
238
|
minPrice=min_price,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-amazon-paapi
|
|
3
|
-
Version: 6.
|
|
3
|
+
Version: 6.3.0
|
|
4
4
|
Summary: Amazon Product Advertising API 5.0 wrapper for Python
|
|
5
5
|
Project-URL: Homepage, https://github.com/sergioteula/python-amazon-paapi
|
|
6
6
|
Project-URL: Repository, https://github.com/sergioteula/python-amazon-paapi
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
amazon_creatorsapi/__init__.py,sha256=RFAXBJErdaZ6YRARGmop4WPUOiSfEEIIMASIHcjYlBU,258
|
|
2
|
-
amazon_creatorsapi/api.py,sha256=
|
|
2
|
+
amazon_creatorsapi/api.py,sha256=Fp2vyacZzJ742CilK7XlaTnCVaKNLE8mBk_uL7HmnSM,14285
|
|
3
3
|
amazon_creatorsapi/errors.py,sha256=psL4KeXDt-NcMGr5TKmZ1E8xEp4I5qJfsrTkbDg9IiE,970
|
|
4
4
|
amazon_creatorsapi/models.py,sha256=mHm8oaph1f7x2MunS6UqNS66_QbOJQfhnfatxSna3lk,5346
|
|
5
5
|
amazon_creatorsapi/aio/__init__.py,sha256=Z76dMFKs0vPZakdXxoGq2dsWmkx-tUkx88NmHBq1DHU,398
|
|
6
|
-
amazon_creatorsapi/aio/api.py,sha256=
|
|
6
|
+
amazon_creatorsapi/aio/api.py,sha256=smESSTPR8oPvpljoVF2hAOi9BS5dLeV_ZJw759Qr4yw,21544
|
|
7
7
|
amazon_creatorsapi/aio/auth.py,sha256=VcP8Pnv9nYYTRAn8jthKZmrtqM_Aes2qzG5s8Bc900U,7921
|
|
8
8
|
amazon_creatorsapi/aio/client.py,sha256=33ycYZl3Tu-OlG1unCRpdF-LGHyc6KQxLxNIdm_xdJw,4281
|
|
9
9
|
amazon_creatorsapi/core/__init__.py,sha256=3wb1H-IKqVShgbqfAlF8j5Nl9bIx_UMP2BDvRBvtnEk,146
|
|
@@ -251,7 +251,7 @@ creatorsapi_python_sdk/models/variation_summary.py,sha256=98Zl9PmBF1lvd1xqKS3XZl
|
|
|
251
251
|
creatorsapi_python_sdk/models/variation_summary_price.py,sha256=KbXfL21Smb1y9q0yu33t-5IW4FV20roFpiADzsNmx1Y,3533
|
|
252
252
|
creatorsapi_python_sdk/models/variations_result.py,sha256=055KMPzIva1JX2AEV2v-i_yQ0AmkGTB3yFi3vCPqoHU,4113
|
|
253
253
|
creatorsapi_python_sdk/models/website_sales_rank.py,sha256=nSkIVj6quN7ZYu1_A-kMrwmPikvWAZRr5JRmd1ysGnM,3346
|
|
254
|
-
python_amazon_paapi-6.
|
|
255
|
-
python_amazon_paapi-6.
|
|
256
|
-
python_amazon_paapi-6.
|
|
257
|
-
python_amazon_paapi-6.
|
|
254
|
+
python_amazon_paapi-6.3.0.dist-info/METADATA,sha256=By5K7A9wMC6zrJQaXsXCSmGGbkJvrBtCVMHm5IFAo1k,8049
|
|
255
|
+
python_amazon_paapi-6.3.0.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
|
|
256
|
+
python_amazon_paapi-6.3.0.dist-info/licenses/LICENSE,sha256=pA7Z3pwvEEHJgQ2d9o8RTVUMxc_GMJNosLRWVwue7PQ,1068
|
|
257
|
+
python_amazon_paapi-6.3.0.dist-info/RECORD,,
|
|
File without changes
|
{python_amazon_paapi-6.2.0.dist-info → python_amazon_paapi-6.3.0.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|