Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
saleweaver committed Sep 16, 2024
2 parents 87b0dd5 + e581a6e commit 4a1cb7d
Show file tree
Hide file tree
Showing 7 changed files with 939 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ point
pytest
requests~=2.32.3

boto3~=1.34.157
boto3~=1.35.19

cachetools~=5.4.0
cachetools~=5.5.0
setuptools~=71.1.0
pytz~=2022.7
confuse~=2.0.1
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
pytest
requests~=2.32.3

boto3~=1.34.157
boto3~=1.35.19

cachetools~=5.4.0
cachetools~=5.5.0
setuptools~=71.1.0
pytz~=2022.7
confuse~=2.0.1
Expand Down
2 changes: 1 addition & 1 deletion sp_api/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.6.7'
__version__ = '1.6.40'
30 changes: 30 additions & 0 deletions sp_api/api/sellers/sellers.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,33 @@ def get_marketplace_participation(self, **kwargs) -> ApiResponse:
"""
return self._request(kwargs.pop('path'), add_marketplace=False)

@sp_endpoint("/sellers/v1/account")
def get_account(self, **kwargs) -> ApiResponse:
"""
get_account(self, **kwargs) -> ApiResponse
Returns information about a seller account and its marketplaces.
**Usage Plan:**
====================================== ==============
Rate (requests per second) Burst
====================================== ==============
.016 15
====================================== ==============
For more information, see "Usage Plans and Rate Limits" in the Selling Partner API documentation.
Examples:
literal blocks::
res = Sellers().get_account()
Args:
**kwargs:
Returns:
GetAccountResponse:
"""
return self._request(kwargs.pop('path'), add_marketplace=False)
Loading

0 comments on commit 4a1cb7d

Please sign in to comment.