goofish-api 0.0.5__tar.gz → 0.0.6__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 (23) hide show
  1. {goofish_api-0.0.5 → goofish_api-0.0.6}/PKG-INFO +5 -2
  2. {goofish_api-0.0.5 → goofish_api-0.0.6}/README.md +4 -1
  3. goofish_api-0.0.6/goofish_api/__version__.py +1 -0
  4. {goofish_api-0.0.5 → goofish_api-0.0.6}/goofish_api/api/order.py +23 -21
  5. {goofish_api-0.0.5 → goofish_api-0.0.6}/goofish_api.egg-info/PKG-INFO +5 -2
  6. goofish_api-0.0.5/goofish_api/__version__.py +0 -1
  7. {goofish_api-0.0.5 → goofish_api-0.0.6}/LICENSE +0 -0
  8. {goofish_api-0.0.5 → goofish_api-0.0.6}/goofish_api/__init__.py +0 -0
  9. {goofish_api-0.0.5 → goofish_api-0.0.6}/goofish_api/api/__init__.py +0 -0
  10. {goofish_api-0.0.5 → goofish_api-0.0.6}/goofish_api/api/base.py +0 -0
  11. {goofish_api-0.0.5 → goofish_api-0.0.6}/goofish_api/api/good.py +0 -0
  12. {goofish_api-0.0.5 → goofish_api-0.0.6}/goofish_api/api/other.py +0 -0
  13. {goofish_api-0.0.5 → goofish_api-0.0.6}/goofish_api/api/user.py +0 -0
  14. {goofish_api-0.0.5 → goofish_api-0.0.6}/goofish_api/utils/__init__.py +0 -0
  15. {goofish_api-0.0.5 → goofish_api-0.0.6}/goofish_api/utils/api_response.py +0 -0
  16. {goofish_api-0.0.5 → goofish_api-0.0.6}/goofish_api/utils/base_client.py +0 -0
  17. {goofish_api-0.0.5 → goofish_api-0.0.6}/goofish_api/utils/constants.py +0 -0
  18. {goofish_api-0.0.5 → goofish_api-0.0.6}/goofish_api/utils/helpers.py +0 -0
  19. {goofish_api-0.0.5 → goofish_api-0.0.6}/goofish_api.egg-info/SOURCES.txt +0 -0
  20. {goofish_api-0.0.5 → goofish_api-0.0.6}/goofish_api.egg-info/dependency_links.txt +0 -0
  21. {goofish_api-0.0.5 → goofish_api-0.0.6}/goofish_api.egg-info/top_level.txt +0 -0
  22. {goofish_api-0.0.5 → goofish_api-0.0.6}/setup.cfg +0 -0
  23. {goofish_api-0.0.5 → goofish_api-0.0.6}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: goofish_api
3
- Version: 0.0.5
3
+ Version: 0.0.6
4
4
  Summary: Python wrapper for the goofish API
5
5
  Home-page: https://github.com/xie7654/goofish_api
6
6
  Author: XIE JUN
@@ -16,6 +16,9 @@ License-File: LICENSE
16
16
 
17
17
  Goofish API Python SDK 是一个用于闲鱼开放平台的Python客户端库,提供了完整的API封装,支持商品管理、订单处理、用户授权等功能。
18
18
 
19
+
20
+ **<font color="red">使用邀请码订购会员可享最高85折优惠,立减30: 需要邀请码可加wx: JUN765462425</font>**
21
+
19
22
  ## 功能特性
20
23
 
21
24
  - 🚀 **完整的API覆盖** - 支持闲鱼开放平台的所有主要API
@@ -398,7 +401,7 @@ python go.py
398
401
  ## 作者
399
402
 
400
403
  - **XIE JUN** - [xie7654](https://github.com/xie7654)
401
- - 邮箱: xie765462425@gmail.com
404
+ - 邮箱: xie765462425@gmail.com,765462425@qq.com
402
405
 
403
406
  ## 相关链接
404
407
 
@@ -5,6 +5,9 @@
5
5
 
6
6
  Goofish API Python SDK 是一个用于闲鱼开放平台的Python客户端库,提供了完整的API封装,支持商品管理、订单处理、用户授权等功能。
7
7
 
8
+
9
+ **<font color="red">使用邀请码订购会员可享最高85折优惠,立减30: 需要邀请码可加wx: JUN765462425</font>**
10
+
8
11
  ## 功能特性
9
12
 
10
13
  - 🚀 **完整的API覆盖** - 支持闲鱼开放平台的所有主要API
@@ -387,7 +390,7 @@ python go.py
387
390
  ## 作者
388
391
 
389
392
  - **XIE JUN** - [xie7654](https://github.com/xie7654)
390
- - 邮箱: xie765462425@gmail.com
393
+ - 邮箱: xie765462425@gmail.com,765462425@qq.com
391
394
 
392
395
  ## 相关链接
393
396
 
@@ -0,0 +1 @@
1
+ __version__ = "0.0.6"
@@ -10,16 +10,16 @@ class Order(BaseAPI):
10
10
  def get_order_list(self, order_status: OrderStatus = None, refund_status: RefundStatus = None,
11
11
  order_time: [] = None, pay_time: [] = None,
12
12
  consign_time: [] = None, confirm_time: [] = None, refund_time: [] = None, update_time: [] = None,
13
- page_no: int = None, page_size: int = None, **kwargs) -> ApiResponse:
13
+ page_no: int = 1, page_size: int = 50, **kwargs) -> ApiResponse:
14
14
  """ 获取订单列表
15
- :param order_status: 订单状态
16
- :param refund_status: 退款状态
17
- :param order_time: 订单时间范围
18
- :param pay_time: 支付时间范围
19
- :param consign_time: 发货时间范围
20
- :param confirm_time: 确认收货时间范围
21
- :param refund_time: 退款时间范围
22
- :param update_time: 更新时间范围
15
+ :param order_status: 订单状态 (可选)
16
+ :param refund_status: 退款状态 (可选)
17
+ :param order_time: 订单时间范围 (可选)
18
+ :param pay_time: 支付时间范围 (可选)
19
+ :param consign_time: 发货时间范围 (可选)
20
+ :param confirm_time: 确认收货时间范围 (可选)
21
+ :param refund_time: 退款时间范围 (可选)
22
+ :param update_time: 更新时间范围 (可选)
23
23
  :param page_no: 页码
24
24
  :param page_size: 每页大小
25
25
  """
@@ -58,19 +58,21 @@ class Order(BaseAPI):
58
58
  return self._request(data={**kwargs, **data})
59
59
 
60
60
  @action('/api/open/order/ship')
61
- def order_ship(self, order_no: str, ship_name, ship_mobile, ship_district_id, ship_prov_name,
62
- ship_city_name, ship_area_name, waybill_no, express_name, express_code, **kwargs) -> ApiResponse:
61
+ def order_ship(self, order_no: str, waybill_no: str, express_name: str, express_code: str, ship_name=None,
62
+ ship_mobile=None, ship_district_id=None, ship_prov_name=None,
63
+ ship_city_name=None, ship_area_name=None, **kwargs) -> ApiResponse:
63
64
  """ 订单物流发货
64
- :param order_no: 订单号
65
- :param ship_name: 收货人姓名
66
- :param ship_mobile: 收货人手机号
67
- :param ship_district_id: 收货人所在地区ID
68
- :param ship_prov_name: 收货人所在省份名称
69
- :param ship_city_name: 收货人所在城市名称
70
- :param ship_area_name: 收货人所在区县名称
71
- :param waybill_no: 运单号
72
- :param express_name: 快递公司名称
73
- :param express_code: 快递公司编码
65
+ :param order_no: 订单号 (必填)
66
+ :param waybill_no: 运单号 (必填)
67
+ :param express_name: 快递公司名称 (必填)
68
+ :param express_code: 快递公司编码 (必填)
69
+ :param ship_name: 收货人姓名 (选填)
70
+ :param ship_mobile: 收货人手机号 (选填)
71
+ :param ship_district_id: 收货人所在地区ID (如果没有传入该参数,则必传省市区)
72
+ :param ship_prov_name: 收货人所在省份名称 (如果没有传入ship_district_id,则必传该参数)
73
+ :param ship_city_name: 收货人所在城市名称 (如果没有传入ship_district_id,则必传该参数)
74
+ :param ship_area_name: 收货人所在区县名称 (如果没有传入ship_district_id,则必传该参数)
75
+
74
76
  示例:
75
77
  {
76
78
  "order_no": "1339920336328048683",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: goofish_api
3
- Version: 0.0.5
3
+ Version: 0.0.6
4
4
  Summary: Python wrapper for the goofish API
5
5
  Home-page: https://github.com/xie7654/goofish_api
6
6
  Author: XIE JUN
@@ -16,6 +16,9 @@ License-File: LICENSE
16
16
 
17
17
  Goofish API Python SDK 是一个用于闲鱼开放平台的Python客户端库,提供了完整的API封装,支持商品管理、订单处理、用户授权等功能。
18
18
 
19
+
20
+ **<font color="red">使用邀请码订购会员可享最高85折优惠,立减30: 需要邀请码可加wx: JUN765462425</font>**
21
+
19
22
  ## 功能特性
20
23
 
21
24
  - 🚀 **完整的API覆盖** - 支持闲鱼开放平台的所有主要API
@@ -398,7 +401,7 @@ python go.py
398
401
  ## 作者
399
402
 
400
403
  - **XIE JUN** - [xie7654](https://github.com/xie7654)
401
- - 邮箱: xie765462425@gmail.com
404
+ - 邮箱: xie765462425@gmail.com,765462425@qq.com
402
405
 
403
406
  ## 相关链接
404
407
 
@@ -1 +0,0 @@
1
- __version__ = "0.0.5"
File without changes
File without changes
File without changes