etsy-python 1.1.2__tar.gz → 1.1.5__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.
- {etsy_python-1.1.2/etsy_python.egg-info → etsy_python-1.1.5}/PKG-INFO +19 -3
- {etsy_python-1.1.2 → etsy_python-1.1.5}/README.md +1 -1
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/_version.py +1 -1
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/models/Listing.py +3 -3
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/resources/HolidayPreferences.py +4 -2
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/resources/Listing.py +2 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5/etsy_python.egg-info}/PKG-INFO +19 -3
- {etsy_python-1.1.2 → etsy_python-1.1.5}/setup.py +5 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/LICENSE +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/MANIFEST.in +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/__init__.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/__init__.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/auth/OAuth.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/auth/__init__.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/common/Env.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/common/Request.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/common/Utils.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/common/__init__.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/enums/HolidayPreferences.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/enums/Language.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/enums/Listing.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/enums/ListingInventory.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/enums/ProcessingProfile.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/enums/ShippingProfile.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/enums/ShopReceipt.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/enums/__init__.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/exceptions/BaseAPIException.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/exceptions/RequestException.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/exceptions/__init__.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/models/FileRequest.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/models/HolidayPreferences.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/models/Miscellaneous.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/models/ProcessingProfile.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/models/Product.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/models/Receipt.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/models/Request.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/models/ShippingProfile.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/models/Shop.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/models/ShopReturnPolicy.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/models/Utils.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/models/__init__.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/resources/ListingFile.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/resources/ListingImage.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/resources/ListingInventory.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/resources/ListingOffering.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/resources/ListingProduct.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/resources/ListingTranslation.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/resources/ListingVariationImages.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/resources/ListingVideo.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/resources/Miscellaneous.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/resources/Payment.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/resources/PaymentLedgerEntry.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/resources/ProcessingProfile.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/resources/Receipt.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/resources/ReceiptTransactions.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/resources/Response.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/resources/Review.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/resources/Session.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/resources/ShippingProfile.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/resources/Shop.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/resources/ShopProductionPartner.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/resources/ShopReturnPolicy.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/resources/ShopSection.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/resources/Taxonomy.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/resources/User.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/resources/UserAddress.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/resources/__init__.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/resources/enums/RateLimit.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/resources/enums/Request.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python/v3/resources/enums/__init__.py +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python.egg-info/SOURCES.txt +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python.egg-info/dependency_links.txt +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python.egg-info/requires.txt +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/etsy_python.egg-info/top_level.txt +0 -0
- {etsy_python-1.1.2 → etsy_python-1.1.5}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: etsy-python
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.5
|
|
4
4
|
Summary: Etsy API Client Library for Python
|
|
5
5
|
Author: Amit Ray
|
|
6
6
|
Author-email: mail@amitray.dev
|
|
@@ -10,13 +10,29 @@ Project-URL: Issues, https://github.com/amitray007/etsy-python-sdk/issues
|
|
|
10
10
|
Keywords: python,etsy,api
|
|
11
11
|
Classifier: Intended Audience :: Developers
|
|
12
12
|
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
13
17
|
Classifier: Operating System :: Unix
|
|
14
18
|
Classifier: Operating System :: MacOS :: MacOS X
|
|
15
19
|
Classifier: Operating System :: Microsoft :: Windows
|
|
20
|
+
Requires-Python: >=3.10
|
|
16
21
|
Description-Content-Type: text/markdown
|
|
17
22
|
License-File: LICENSE
|
|
18
23
|
Requires-Dist: requests
|
|
19
24
|
Requires-Dist: requests-oauthlib
|
|
25
|
+
Dynamic: author
|
|
26
|
+
Dynamic: author-email
|
|
27
|
+
Dynamic: classifier
|
|
28
|
+
Dynamic: description
|
|
29
|
+
Dynamic: description-content-type
|
|
30
|
+
Dynamic: keywords
|
|
31
|
+
Dynamic: license-file
|
|
32
|
+
Dynamic: project-url
|
|
33
|
+
Dynamic: requires-dist
|
|
34
|
+
Dynamic: requires-python
|
|
35
|
+
Dynamic: summary
|
|
20
36
|
|
|
21
37
|
|
|
22
38
|
<p align="center">
|
|
@@ -111,7 +127,7 @@ A comprehensive Python client library for the Etsy API v3, providing a modern, t
|
|
|
111
127
|
|
|
112
128
|
## Requirements
|
|
113
129
|
|
|
114
|
-
- Python 3.
|
|
130
|
+
- Python 3.10 or higher
|
|
115
131
|
- An Etsy App API Key (get one at [Etsy Developers](https://www.etsy.com/developers))
|
|
116
132
|
|
|
117
133
|
## Installation
|
|
@@ -90,7 +90,7 @@ A comprehensive Python client library for the Etsy API v3, providing a modern, t
|
|
|
90
90
|
|
|
91
91
|
## Requirements
|
|
92
92
|
|
|
93
|
-
- Python 3.
|
|
93
|
+
- Python 3.10 or higher
|
|
94
94
|
- An Etsy App API Key (get one at [Etsy Developers](https://www.etsy.com/developers))
|
|
95
95
|
|
|
96
96
|
## Installation
|
|
@@ -71,7 +71,7 @@ class CreateDraftListingRequest(Request):
|
|
|
71
71
|
personalization_is_required: Optional[bool] = None,
|
|
72
72
|
personalization_char_count_max: Optional[int] = None,
|
|
73
73
|
personalization_instructions: Optional[str] = None,
|
|
74
|
-
production_partner_ids: Optional[int] = None,
|
|
74
|
+
production_partner_ids: Optional[List[int]] = None,
|
|
75
75
|
image_ids: Optional[List[int]] = None,
|
|
76
76
|
is_supply: Optional[bool] = None,
|
|
77
77
|
is_customizable: Optional[bool] = None,
|
|
@@ -153,7 +153,7 @@ class UpdateListingRequest(Request):
|
|
|
153
153
|
|
|
154
154
|
def __init__(
|
|
155
155
|
self,
|
|
156
|
-
image_ids: Optional[List[
|
|
156
|
+
image_ids: Optional[List[int]] = None,
|
|
157
157
|
title: Optional[str] = None,
|
|
158
158
|
description: Optional[str] = None,
|
|
159
159
|
materials: Optional[List[str]] = None,
|
|
@@ -323,7 +323,7 @@ class UploadListingFileRequest(FileRequest):
|
|
|
323
323
|
|
|
324
324
|
class UpdateVariationImagesRequest(Request):
|
|
325
325
|
nullable: List[str] = []
|
|
326
|
-
mandatory: List[str] = []
|
|
326
|
+
mandatory: List[str] = ["variation_images"]
|
|
327
327
|
|
|
328
328
|
def __init__(self, variation_images: List[Dict[str, Any]]) -> None:
|
|
329
329
|
self.variation_images = variation_images
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
from dataclasses import dataclass
|
|
2
|
+
from enum import Enum
|
|
2
3
|
from typing import Optional, Union
|
|
3
4
|
|
|
4
5
|
from etsy_python.v3.enums.HolidayPreferences import CA_HOLIDAYS, HOLIDAYS, US_HOLIDAYS
|
|
@@ -20,10 +21,11 @@ class HolidayPreferencesResource:
|
|
|
20
21
|
def update_holiday_preferences(
|
|
21
22
|
self,
|
|
22
23
|
shop_id: int,
|
|
23
|
-
holiday_id:
|
|
24
|
+
holiday_id: Union[HOLIDAYS, US_HOLIDAYS, CA_HOLIDAYS, int],
|
|
24
25
|
holiday_preference: UpdateHolidayPreferencesRequest,
|
|
25
26
|
) -> Union[Response, RequestException]:
|
|
26
|
-
|
|
27
|
+
hid = holiday_id.value if isinstance(holiday_id, Enum) else holiday_id
|
|
28
|
+
endpoint = f"/shops/{shop_id}/holiday-preferences/{hid}"
|
|
27
29
|
return self.session.make_request(
|
|
28
30
|
endpoint, method=Method.PUT, payload=holiday_preference
|
|
29
31
|
)
|
|
@@ -90,6 +90,7 @@ class ListingResource:
|
|
|
90
90
|
max_price: Optional[float] = None,
|
|
91
91
|
taxonomy_id: Optional[int] = None,
|
|
92
92
|
shop_location: Optional[str] = None,
|
|
93
|
+
is_safe: Optional[bool] = None,
|
|
93
94
|
legacy: Optional[bool] = None,
|
|
94
95
|
) -> Union[Response, RequestException]:
|
|
95
96
|
endpoint = "/listings/active"
|
|
@@ -103,6 +104,7 @@ class ListingResource:
|
|
|
103
104
|
"max_price": max_price,
|
|
104
105
|
"taxonomy_id": taxonomy_id,
|
|
105
106
|
"shop_location": shop_location,
|
|
107
|
+
"is_safe": is_safe,
|
|
106
108
|
"legacy": legacy,
|
|
107
109
|
}
|
|
108
110
|
return self.session.make_request(endpoint, query_params=query_params)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: etsy-python
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.5
|
|
4
4
|
Summary: Etsy API Client Library for Python
|
|
5
5
|
Author: Amit Ray
|
|
6
6
|
Author-email: mail@amitray.dev
|
|
@@ -10,13 +10,29 @@ Project-URL: Issues, https://github.com/amitray007/etsy-python-sdk/issues
|
|
|
10
10
|
Keywords: python,etsy,api
|
|
11
11
|
Classifier: Intended Audience :: Developers
|
|
12
12
|
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
13
17
|
Classifier: Operating System :: Unix
|
|
14
18
|
Classifier: Operating System :: MacOS :: MacOS X
|
|
15
19
|
Classifier: Operating System :: Microsoft :: Windows
|
|
20
|
+
Requires-Python: >=3.10
|
|
16
21
|
Description-Content-Type: text/markdown
|
|
17
22
|
License-File: LICENSE
|
|
18
23
|
Requires-Dist: requests
|
|
19
24
|
Requires-Dist: requests-oauthlib
|
|
25
|
+
Dynamic: author
|
|
26
|
+
Dynamic: author-email
|
|
27
|
+
Dynamic: classifier
|
|
28
|
+
Dynamic: description
|
|
29
|
+
Dynamic: description-content-type
|
|
30
|
+
Dynamic: keywords
|
|
31
|
+
Dynamic: license-file
|
|
32
|
+
Dynamic: project-url
|
|
33
|
+
Dynamic: requires-dist
|
|
34
|
+
Dynamic: requires-python
|
|
35
|
+
Dynamic: summary
|
|
20
36
|
|
|
21
37
|
|
|
22
38
|
<p align="center">
|
|
@@ -111,7 +127,7 @@ A comprehensive Python client library for the Etsy API v3, providing a modern, t
|
|
|
111
127
|
|
|
112
128
|
## Requirements
|
|
113
129
|
|
|
114
|
-
- Python 3.
|
|
130
|
+
- Python 3.10 or higher
|
|
115
131
|
- An Etsy App API Key (get one at [Etsy Developers](https://www.etsy.com/developers))
|
|
116
132
|
|
|
117
133
|
## Installation
|
|
@@ -31,11 +31,16 @@ setup(
|
|
|
31
31
|
long_description_content_type="text/markdown",
|
|
32
32
|
long_description=long_description,
|
|
33
33
|
packages=find_packages(exclude=["tests", "tests.*"]),
|
|
34
|
+
python_requires=">=3.10",
|
|
34
35
|
install_requires=["requests", "requests-oauthlib"],
|
|
35
36
|
keywords=["python", "etsy", "api"],
|
|
36
37
|
classifiers=[
|
|
37
38
|
"Intended Audience :: Developers",
|
|
38
39
|
"Programming Language :: Python :: 3",
|
|
40
|
+
"Programming Language :: Python :: 3.10",
|
|
41
|
+
"Programming Language :: Python :: 3.11",
|
|
42
|
+
"Programming Language :: Python :: 3.12",
|
|
43
|
+
"Programming Language :: Python :: 3.13",
|
|
39
44
|
"Operating System :: Unix",
|
|
40
45
|
"Operating System :: MacOS :: MacOS X",
|
|
41
46
|
"Operating System :: Microsoft :: Windows",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|