goofish-api 0.0.1__py3-none-any.whl → 0.0.3__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.
goofish_api/__init__.py CHANGED
@@ -7,4 +7,6 @@ class GoofishClient(BaseClient):
7
7
  def __init__(self, app_key, access_token, debug=False):
8
8
  super().__init__(app_key, access_token, debug)
9
9
  self.user = api.User(self)
10
- self.good = api.Good(self)
10
+ self.good = api.Good(self)
11
+ self.order = api.Order(self)
12
+ self.other = api.Other(self)
@@ -1 +1 @@
1
- __version__ = "0.0.1"
1
+ __version__ = "0.0.3"
goofish_api/api/user.py CHANGED
@@ -6,6 +6,6 @@ from goofish_api.utils.helpers import action
6
6
  class User(BaseAPI):
7
7
 
8
8
  @action("/api/open/user/authorize/list")
9
- def get_authorize_list(self, **kwargs) -> ApiResponse:
9
+ def get_authorize_list(self, **kwargs) -> ApiResponse:
10
10
  """ 查询闲鱼店铺 """
11
11
  return self._request(data={**kwargs})
@@ -0,0 +1,31 @@
1
+ Metadata-Version: 2.1
2
+ Name: goofish_api
3
+ Version: 0.0.3
4
+ Summary: Python wrapper for the goofish API
5
+ Home-page: https://github.com/xie7654/goofish_api
6
+ Author: XIE JUN
7
+ Author-email: xie765462425@gmail.com
8
+ License: MIT
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE
11
+
12
+ # Goofish API
13
+
14
+ Python SDK for interacting with the Goofish API.
15
+
16
+ ```shell
17
+ # 安装
18
+ pip install goofish_api
19
+ ```
20
+
21
+ ```python
22
+ # 使用
23
+ from goofish_api import GoofishClient
24
+ APP_KEY = ''
25
+ APP_SECRET = ''
26
+ client = GoofishClient(APP_KEY, APP_SECRET)
27
+ data = client.user.get_authorize_list()
28
+ print(data)
29
+ data = client.good.get_product_pv_list(2, 1, '4d8b31d719602249ac899d2620c5df2b')
30
+ print(data)
31
+ ```
@@ -1,18 +1,18 @@
1
- goofish_api/__init__.py,sha256=XfASoTB1zhCVRNb2By7lByBG_ttTLH-e8BpPreFaJOU,302
2
- goofish_api/__version__.py,sha256=ugyuFliEqtAwQmH4sTlc16YXKYbFWDmfyk87fErB8-8,21
1
+ goofish_api/__init__.py,sha256=DBFuhivrDjf07_WOpxbA2eJ844uzFA3y8yGajQhU9nE,376
2
+ goofish_api/__version__.py,sha256=k5tJXhBQJ4l9fKHJ76K5w98zBHoYvNk9r-UNH6eQ2-k,21
3
3
  goofish_api/api/__init__.py,sha256=aVQ5ipR_8VdlFF9R_khDJPHYbsJwK62XAua1kwhgL7Y,161
4
4
  goofish_api/api/base.py,sha256=7Dd6Fzm97FuLkMDMJHODgP5FSlbxHU9Q7V3Oi_3sbeA,290
5
5
  goofish_api/api/good.py,sha256=a9-cvLLgpQp6qnD-kJcijst0uQg3Pyyx7tKL15Photg,21644
6
6
  goofish_api/api/order.py,sha256=VB9oHQULdA1OewLTQdIKVRqsnjZvN563kNi_Bk26rRI,3929
7
7
  goofish_api/api/other.py,sha256=DCV5htEIYWnUFaTNq6LLA-VM4aGV-3OCuT4lDVQUE5g,357
8
- goofish_api/api/user.py,sha256=FekP846gUVN8gYBX0I11GzzePtRER8My1BUBCUfHFL8,350
8
+ goofish_api/api/user.py,sha256=sazNK1VNM07PSqee9ODHRdjD2Stzra7qQhotTODEgLs,349
9
9
  goofish_api/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  goofish_api/utils/api_response.py,sha256=Gni3q14abz4RLhGnrmALeb3YieG5VHpk3jVeAT5PjXQ,170
11
11
  goofish_api/utils/base_client.py,sha256=yPLigHtHqnbGAtkHTy2zfOGXaGyrQxFV4l5jDXQJnns,2976
12
12
  goofish_api/utils/constants.py,sha256=UZwqg6i7uOHpLKmFjE91ju9NJJCsQZ5JaV4FepoM9Bw,3026
13
13
  goofish_api/utils/helpers.py,sha256=cgvsmKMs-iOmYV2d453rkuscyFsHhwLcHHAPEp_rDGg,441
14
- goofish_api-0.0.1.dist-info/LICENSE,sha256=d01GaRU7ASQVquyRBb16HcNMh33nipoG9rS7uoBjCXw,1070
15
- goofish_api-0.0.1.dist-info/METADATA,sha256=jWO79RT-YDr4dQXQEkM4YbIkQ2mue_A8Z6-L_SaE3hA,238
16
- goofish_api-0.0.1.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
17
- goofish_api-0.0.1.dist-info/top_level.txt,sha256=6Lsqj-fn3uvEK9GzwWaiqn0XlepFtXFg1FiCua22Hgo,12
18
- goofish_api-0.0.1.dist-info/RECORD,,
14
+ goofish_api-0.0.3.dist-info/LICENSE,sha256=d01GaRU7ASQVquyRBb16HcNMh33nipoG9rS7uoBjCXw,1070
15
+ goofish_api-0.0.3.dist-info/METADATA,sha256=YOjQpu-b8SLG8cLfaO79e3zepq3EujHt87c8sZJZjjQ,669
16
+ goofish_api-0.0.3.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
17
+ goofish_api-0.0.3.dist-info/top_level.txt,sha256=6Lsqj-fn3uvEK9GzwWaiqn0XlepFtXFg1FiCua22Hgo,12
18
+ goofish_api-0.0.3.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: goofish_api
3
- Version: 0.0.1
4
- Summary: Python wrapper for the goofish API
5
- Home-page: https://github.com/xie7654/goofish_api
6
- Author: XIE JUN
7
- Author-email: xie765462425@gmail.com
8
- License: MIT
9
- License-File: LICENSE
10
-