sc1-interface 1.0.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.
@@ -0,0 +1,9 @@
1
+ Metadata-Version: 2.4
2
+ Name: sc1_interface
3
+ Version: 1.0.2
4
+ Summary: sc1 interface helpers
5
+ Author: dyy
6
+ Requires-Dist: requests>=2.0.0
7
+ Dynamic: author
8
+ Dynamic: requires-dist
9
+ Dynamic: summary
@@ -0,0 +1,2 @@
1
+ from . import chat_widget
2
+
@@ -0,0 +1,9 @@
1
+ import requests
2
+
3
+
4
+ def get_chat_wideget(domain, merchantId, Authorization):
5
+ url = domain + '/admin/api/mc/setting/chat_widget/v2?merchantId=' + merchantId
6
+ print(url)
7
+ headers = {'Authorization': Authorization, 'Content-Type': 'application/json'}
8
+ response = requests.get(url=url, headers=headers).json()
9
+ return response
@@ -0,0 +1,9 @@
1
+ Metadata-Version: 2.4
2
+ Name: sc1_interface
3
+ Version: 1.0.2
4
+ Summary: sc1 interface helpers
5
+ Author: dyy
6
+ Requires-Dist: requests>=2.0.0
7
+ Dynamic: author
8
+ Dynamic: requires-dist
9
+ Dynamic: summary
@@ -0,0 +1,9 @@
1
+ setup.py
2
+ sc1_interface/__init__.py
3
+ sc1_interface/chat_widget.py
4
+ sc1_interface.egg-info/PKG-INFO
5
+ sc1_interface.egg-info/SOURCES.txt
6
+ sc1_interface.egg-info/dependency_links.txt
7
+ sc1_interface.egg-info/not-zip-safe
8
+ sc1_interface.egg-info/requires.txt
9
+ sc1_interface.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ requests>=2.0.0
@@ -0,0 +1 @@
1
+ sc1_interface
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,18 @@
1
+ from setuptools import find_packages, setup
2
+
3
+
4
+ setup(
5
+ name='sc1_interface',
6
+ version='1.0.2',
7
+ description='sc1 interface helpers',
8
+ author='dyy',
9
+ packages=find_packages(include=[
10
+ 'sc1_interface',
11
+ 'sc1_interface.*',
12
+ ]),
13
+ install_requires=[
14
+ 'requests>=2.0.0',
15
+ ],
16
+ include_package_data=True,
17
+ zip_safe=False,
18
+ )