justoneapi 1.2.0__tar.gz → 1.2.2__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 (32) hide show
  1. {justoneapi-1.2.0 → justoneapi-1.2.2}/PKG-INFO +1 -1
  2. justoneapi-1.2.2/justoneapi/__init__.py +2 -0
  3. {justoneapi-1.2.0 → justoneapi-1.2.2}/justoneapi/apis/taobao.py +5 -1
  4. justoneapi-1.2.2/justoneapi/config.py +1 -0
  5. {justoneapi-1.2.0 → justoneapi-1.2.2}/justoneapi.egg-info/PKG-INFO +1 -1
  6. {justoneapi-1.2.0 → justoneapi-1.2.2}/pyproject.toml +1 -1
  7. justoneapi-1.2.0/justoneapi/__init__.py +0 -2
  8. justoneapi-1.2.0/justoneapi/config.py +0 -1
  9. {justoneapi-1.2.0 → justoneapi-1.2.2}/LICENSE +0 -0
  10. {justoneapi-1.2.0 → justoneapi-1.2.2}/README.md +0 -0
  11. {justoneapi-1.2.0 → justoneapi-1.2.2}/justoneapi/apis/__init__.py +0 -0
  12. {justoneapi-1.2.0 → justoneapi-1.2.2}/justoneapi/apis/bilibili.py +0 -0
  13. {justoneapi-1.2.0 → justoneapi-1.2.2}/justoneapi/apis/douyin.py +0 -0
  14. {justoneapi-1.2.0 → justoneapi-1.2.2}/justoneapi/apis/kuaishou.py +0 -0
  15. {justoneapi-1.2.0 → justoneapi-1.2.2}/justoneapi/apis/request_util.py +0 -0
  16. {justoneapi-1.2.0 → justoneapi-1.2.2}/justoneapi/apis/user.py +0 -0
  17. {justoneapi-1.2.0 → justoneapi-1.2.2}/justoneapi/apis/weibo.py +0 -0
  18. {justoneapi-1.2.0 → justoneapi-1.2.2}/justoneapi/apis/xiaohongshu.py +0 -0
  19. {justoneapi-1.2.0 → justoneapi-1.2.2}/justoneapi/client.py +0 -0
  20. {justoneapi-1.2.0 → justoneapi-1.2.2}/justoneapi/log.py +0 -0
  21. {justoneapi-1.2.0 → justoneapi-1.2.2}/justoneapi.egg-info/SOURCES.txt +0 -0
  22. {justoneapi-1.2.0 → justoneapi-1.2.2}/justoneapi.egg-info/dependency_links.txt +0 -0
  23. {justoneapi-1.2.0 → justoneapi-1.2.2}/justoneapi.egg-info/requires.txt +0 -0
  24. {justoneapi-1.2.0 → justoneapi-1.2.2}/justoneapi.egg-info/top_level.txt +0 -0
  25. {justoneapi-1.2.0 → justoneapi-1.2.2}/setup.cfg +0 -0
  26. {justoneapi-1.2.0 → justoneapi-1.2.2}/tests/test_bilibili.py +0 -0
  27. {justoneapi-1.2.0 → justoneapi-1.2.2}/tests/test_douyin.py +0 -0
  28. {justoneapi-1.2.0 → justoneapi-1.2.2}/tests/test_kuaishou.py +0 -0
  29. {justoneapi-1.2.0 → justoneapi-1.2.2}/tests/test_taobao.py +0 -0
  30. {justoneapi-1.2.0 → justoneapi-1.2.2}/tests/test_user.py +0 -0
  31. {justoneapi-1.2.0 → justoneapi-1.2.2}/tests/test_weibo.py +0 -0
  32. {justoneapi-1.2.0 → justoneapi-1.2.2}/tests/test_xiaohongshu.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: justoneapi
3
- Version: 1.2.0
3
+ Version: 1.2.2
4
4
  Summary: Official Python SDK for Just One API
5
5
  Author-email: Just One API <justoneapi@gmail.com>
6
6
  Description-Content-Type: text/markdown
@@ -0,0 +1,2 @@
1
+ __version__ = "1.2.2"
2
+
@@ -134,7 +134,7 @@ class TaobaoAPI:
134
134
  }
135
135
  return request_util.get_request(url, params)
136
136
 
137
- def search_item_list_v6(self, keyword: str, sort: str, page: int, tab: str = None):
137
+ def search_item_list_v6(self, keyword: str, sort: str, page: int, tab: str = None, start_price: str = None, end_price: str = None):
138
138
  url = f"{config.BASE_URL}/api/taobao/search-item-list/v6"
139
139
  params = {
140
140
  "token": self.token,
@@ -144,6 +144,10 @@ class TaobaoAPI:
144
144
  }
145
145
  if tab:
146
146
  params["tab"] = tab
147
+ if start_price:
148
+ params["startPrice"] = start_price
149
+ if end_price:
150
+ params["endPrice"] = end_price
147
151
 
148
152
  has_next_page = False
149
153
  result, data, message = request_util.get_request_page(url, params)
@@ -0,0 +1 @@
1
+ BASE_URL = "https://api.justoneapi.com"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: justoneapi
3
- Version: 1.2.0
3
+ Version: 1.2.2
4
4
  Summary: Official Python SDK for Just One API
5
5
  Author-email: Just One API <justoneapi@gmail.com>
6
6
  Description-Content-Type: text/markdown
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "justoneapi"
3
- version = "1.2.0"
3
+ version = "1.2.2"
4
4
  description = "Official Python SDK for Just One API"
5
5
  authors = [{ name="Just One API", email="justoneapi@gmail.com" }]
6
6
  readme = "README.md"
@@ -1,2 +0,0 @@
1
- __version__ = "1.2.0"
2
-
@@ -1 +0,0 @@
1
- BASE_URL = "http://47.117.133.51:30015"
File without changes
File without changes
File without changes
File without changes