goofish-api 0.0.1__tar.gz → 0.0.3__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 (25) hide show
  1. goofish_api-0.0.3/PKG-INFO +31 -0
  2. {goofish_api-0.0.1 → goofish_api-0.0.3}/README.md +4 -0
  3. {goofish_api-0.0.1 → goofish_api-0.0.3}/goofish_api/__init__.py +3 -1
  4. goofish_api-0.0.3/goofish_api/__version__.py +1 -0
  5. {goofish_api-0.0.1 → goofish_api-0.0.3}/goofish_api/api/user.py +1 -1
  6. goofish_api-0.0.3/goofish_api.egg-info/PKG-INFO +31 -0
  7. {goofish_api-0.0.1 → goofish_api-0.0.3}/setup.py +6 -0
  8. goofish_api-0.0.1/PKG-INFO +0 -9
  9. goofish_api-0.0.1/goofish_api/__version__.py +0 -1
  10. goofish_api-0.0.1/goofish_api.egg-info/PKG-INFO +0 -9
  11. {goofish_api-0.0.1 → goofish_api-0.0.3}/LICENSE +0 -0
  12. {goofish_api-0.0.1 → goofish_api-0.0.3}/goofish_api/api/__init__.py +0 -0
  13. {goofish_api-0.0.1 → goofish_api-0.0.3}/goofish_api/api/base.py +0 -0
  14. {goofish_api-0.0.1 → goofish_api-0.0.3}/goofish_api/api/good.py +0 -0
  15. {goofish_api-0.0.1 → goofish_api-0.0.3}/goofish_api/api/order.py +0 -0
  16. {goofish_api-0.0.1 → goofish_api-0.0.3}/goofish_api/api/other.py +0 -0
  17. {goofish_api-0.0.1 → goofish_api-0.0.3}/goofish_api/utils/__init__.py +0 -0
  18. {goofish_api-0.0.1 → goofish_api-0.0.3}/goofish_api/utils/api_response.py +0 -0
  19. {goofish_api-0.0.1 → goofish_api-0.0.3}/goofish_api/utils/base_client.py +0 -0
  20. {goofish_api-0.0.1 → goofish_api-0.0.3}/goofish_api/utils/constants.py +0 -0
  21. {goofish_api-0.0.1 → goofish_api-0.0.3}/goofish_api/utils/helpers.py +0 -0
  22. {goofish_api-0.0.1 → goofish_api-0.0.3}/goofish_api.egg-info/SOURCES.txt +0 -0
  23. {goofish_api-0.0.1 → goofish_api-0.0.3}/goofish_api.egg-info/dependency_links.txt +0 -0
  24. {goofish_api-0.0.1 → goofish_api-0.0.3}/goofish_api.egg-info/top_level.txt +0 -0
  25. {goofish_api-0.0.1 → goofish_api-0.0.3}/setup.cfg +0 -0
@@ -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,3 +1,7 @@
1
+ # Goofish API
2
+
3
+ Python SDK for interacting with the Goofish API.
4
+
1
5
  ```shell
2
6
  # 安装
3
7
  pip install goofish_api
@@ -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)
@@ -0,0 +1 @@
1
+ __version__ = "0.0.3"
@@ -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,6 +1,10 @@
1
1
  from setuptools import setup
2
+ from pathlib import Path
2
3
  from goofish_api.__version__ import __version__
3
4
 
5
+ this_directory = Path(__file__).parent
6
+ long_description = (this_directory / "README.md").read_text(encoding="utf-8")
7
+
4
8
  setup(
5
9
  name='goofish_api',
6
10
  version=__version__,
@@ -16,4 +20,6 @@ setup(
16
20
  author='XIE JUN',
17
21
  author_email='xie765462425@gmail.com',
18
22
  description='Python wrapper for the goofish API',
23
+ long_description=long_description,
24
+ long_description_content_type='text/markdown',
19
25
  )
@@ -1,9 +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
@@ -1 +0,0 @@
1
- __version__ = "0.0.1"
@@ -1,9 +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
File without changes
File without changes