python-amazon-sp-api 1.9.58__py3-none-any.whl → 1.9.60__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.
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-amazon-sp-api
3
- Version: 1.9.58
3
+ Version: 1.9.60
4
4
  Summary: Python wrapper for the Amazon Selling-Partner API
5
5
  Home-page: https://github.com/saleweaver/python-amazon-sp-api
6
- Author: Michael
6
+ Author: Michael Primke
7
7
  Author-email: primke.michael@gmail.com
8
8
  License: MIT
9
9
  Description-Content-Type: text/markdown
@@ -1,7 +1,7 @@
1
- python_amazon_sp_api-1.9.58.data/scripts/make_endpoint,sha256=QWcwG6z4RWFJlzj4-xyHJymjObyKtwkvWFRq8T18iG0,8568
2
- python_amazon_sp_api-1.9.58.dist-info/licenses/LICENSE,sha256=nbzomPIVo1PVl5bpGAntofsYAF7ZQ2UhzOtKgf7IiNw,1071
1
+ python_amazon_sp_api-1.9.60.data/scripts/make_endpoint,sha256=QWcwG6z4RWFJlzj4-xyHJymjObyKtwkvWFRq8T18iG0,8568
2
+ python_amazon_sp_api-1.9.60.dist-info/licenses/LICENSE,sha256=nbzomPIVo1PVl5bpGAntofsYAF7ZQ2UhzOtKgf7IiNw,1071
3
3
  sp_api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- sp_api/__version__.py,sha256=VQ9veyZEEEC8UBuZZZgujoj5SJzahVubv24IikKvBX4,23
4
+ sp_api/__version__.py,sha256=YKZIYQLqofVnXFP7X7xeDR_VVoSTptQH0t9lUzQL7fA,23
5
5
  sp_api/api/__init__.py,sha256=QTDz2g_fryNGkGszhytqhI8K3x_ttP7fbXLJ5uRvmj0,4747
6
6
  sp_api/api/amazon_warehousing_and_distribu/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  sp_api/api/amazon_warehousing_and_distribu/amazon_warehousing_and_distribu.py,sha256=bMBIxIj0eu6Gi6WY3XLdHHYDzNCwz0-9X59Jo9DoqfE,5863
@@ -102,7 +102,7 @@ sp_api/auth/access_token_client.py,sha256=Ghlpql5TM57g2r6-V9Ium4elASryFIYgNlqtG4
102
102
  sp_api/auth/access_token_response.py,sha256=_0UUopFHGNWHFwyeerCYWEDI61FRysDfSRb5JefCEuw,275
103
103
  sp_api/auth/credentials.py,sha256=OndGKpAOupU6F6CmvOYNlK7uqgXia4DdHhW-u3IRKCk,262
104
104
  sp_api/auth/exceptions.py,sha256=JCY74CZbxqSQ09huA1r_Z5kuD1k0O_sjD7sHhJI0aIk,424
105
- sp_api/base/ApiResponse.py,sha256=Jmx356K5X4NhXmzUofN7Rvv7epMPddwRrQYxc19Ud0c,2271
105
+ sp_api/base/ApiResponse.py,sha256=jcxfWXYVb8LZKokQF_R-ZvVhBSFcE8tyJufUh5i6Jcc,2287
106
106
  sp_api/base/InventoryEnums.py,sha256=IQJ9AhcKpXadO4qP5i76kzHfP2EWQ-KTaZdR6MoOFjI,95
107
107
  sp_api/base/__init__.py,sha256=IaBNIYLWsgvCKAfbMXLVPZdo2Wkw5ZdUhH8vxFfj0wc,2617
108
108
  sp_api/base/base_client.py,sha256=uQEIgDexDlUPCTFuZucEsIxktBlZDmsSw4LUvNrVPxo,223
@@ -127,7 +127,7 @@ sp_api/util/key_maker.py,sha256=T4I2rdBZzvWtX32qgrv9DA5EzVK3LEAWtbRffup-_kE,2172
127
127
  sp_api/util/load_all_pages.py,sha256=K6Suml4_GWZ5L9-YcnhaM9q-dA7Xr6wNLE-kWP_8MPk,1839
128
128
  sp_api/util/load_date_bound.py,sha256=j9gu9WucENqU9xaQ-xG7c4yK4RB-FXK39_r1mLT76z0,1726
129
129
  sp_api/util/retry.py,sha256=V8SeSeX3Brdou138hNA5HeQkKlHppZcqbZobIDjmBYw,2407
130
- python_amazon_sp_api-1.9.58.dist-info/METADATA,sha256=TzWy3SQuEfEHNG6lEP4cOciAQZiFZ96dHQkCXbEf3kE,6794
131
- python_amazon_sp_api-1.9.58.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
132
- python_amazon_sp_api-1.9.58.dist-info/top_level.txt,sha256=mEzPMFyyy0LmJGY4KFXfh5usUka4eeouIr7-2IAzoE0,7
133
- python_amazon_sp_api-1.9.58.dist-info/RECORD,,
130
+ python_amazon_sp_api-1.9.60.dist-info/METADATA,sha256=NFH_v0rRE39kCoZqZrp28AFn7PPdR7GinRjXlU5NBXM,6801
131
+ python_amazon_sp_api-1.9.60.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
132
+ python_amazon_sp_api-1.9.60.dist-info/top_level.txt,sha256=mEzPMFyyy0LmJGY4KFXfh5usUka4eeouIr7-2IAzoE0,7
133
+ python_amazon_sp_api-1.9.60.dist-info/RECORD,,
sp_api/__version__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '1.9.58'
1
+ __version__ = '1.9.60'
@@ -44,13 +44,13 @@ class ApiResponse:
44
44
  self.errors = errors
45
45
  self.pagination = pagination
46
46
  self.headers = headers
47
- self.rate_limit = headers.get("x-amzn-RateLimit-Limit")
47
+ self.rate_limit = (headers or {}).get("x-amzn-RateLimit-Limit")
48
48
  try:
49
49
  self.next_token = (
50
50
  nextToken
51
51
  or self.payload.get("pagination", {}).get("nextToken", None)
52
52
  or self.payload.get("NextToken", None)
53
- or self.pagination.get("nextToken", None)
53
+ or (self.pagination or {}).get("nextToken", None)
54
54
  or self.payload.get("nextPageToken", None)
55
55
  or self.payload.get("nextToken", None)
56
56
  )