MagicFeedback 0.0.1__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.
- magicfeedback-0.0.1/LICENCE +19 -0
- magicfeedback-0.0.1/PKG-INFO +72 -0
- magicfeedback-0.0.1/README.md +58 -0
- magicfeedback-0.0.1/pyproject.toml +18 -0
- magicfeedback-0.0.1/setup.cfg +4 -0
- magicfeedback-0.0.1/src/MagicFeedback.egg-info/PKG-INFO +72 -0
- magicfeedback-0.0.1/src/MagicFeedback.egg-info/SOURCES.txt +11 -0
- magicfeedback-0.0.1/src/MagicFeedback.egg-info/dependency_links.txt +1 -0
- magicfeedback-0.0.1/src/MagicFeedback.egg-info/top_level.txt +2 -0
- magicfeedback-0.0.1/src/__init__.py +0 -0
- magicfeedback-0.0.1/src/magicfeedback.py +132 -0
- magicfeedback-0.0.1/tests/test_apikey.py +15 -0
- magicfeedback-0.0.1/tests/test_feedback_create.py +45 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
Copyright (c) 2024 MagicFeedback OÜ
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
5
|
+
in the Software without restriction, including without limitation the rights
|
|
6
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
7
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
8
|
+
furnished to do so, subject to the following conditions:
|
|
9
|
+
|
|
10
|
+
The above copyright notice and this permission notice shall be included in all
|
|
11
|
+
copies or substantial portions of the Software.
|
|
12
|
+
|
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
19
|
+
SOFTWARE.
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: MagicFeedback
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: SDK for MagicFeedback API
|
|
5
|
+
Author-email: Francisco Arias <farias@magicfedback.io>
|
|
6
|
+
Project-URL: Homepage, https://github.com/MagicFeedback/magicfeedback_python_sdk
|
|
7
|
+
Project-URL: Issues, https://github.com/MagicFeedback/magicfeedback_python_sdk/issues
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Operating System :: OS Independent
|
|
11
|
+
Requires-Python: >=3.8
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
License-File: LICENCE
|
|
14
|
+
|
|
15
|
+
# MagicFeedback SDK
|
|
16
|
+
|
|
17
|
+
**A Python SDK for interacting with the MagicFeedback API**
|
|
18
|
+
|
|
19
|
+
**Installation**
|
|
20
|
+
|
|
21
|
+
Bash
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
pip install MagicFeeedback
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Use code [with caution.](/faq#coding)
|
|
29
|
+
|
|
30
|
+
**Usage**
|
|
31
|
+
|
|
32
|
+
Python
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
from magicfeedback import MagicFeedbackClient
|
|
36
|
+
|
|
37
|
+
# Create a MagicFeedbackClient instance
|
|
38
|
+
client = MagicFeedbackClient('email', 'password')
|
|
39
|
+
|
|
40
|
+
# Create a new feedback item
|
|
41
|
+
feedback_data = {
|
|
42
|
+
"name": "Test Feedback",
|
|
43
|
+
"type": "DOCUMENT",
|
|
44
|
+
# ... other required fields
|
|
45
|
+
}
|
|
46
|
+
response = client.create_feedback(feedback_data)
|
|
47
|
+
|
|
48
|
+
# Print the response
|
|
49
|
+
print(response)
|
|
50
|
+
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
**API Reference**
|
|
54
|
+
|
|
55
|
+
- **`create_feedback(feedback)`:** Creates a new feedback item.
|
|
56
|
+
- **`get_feedback(feedback_id)`:** Retrieves a specific feedback item.
|
|
57
|
+
- **`update_feedback(feedback_id, feedback)`:** Updates a specific feedback item.
|
|
58
|
+
- **`delete_feedback(feedback_id)`:** Deletes a specific feedback item.
|
|
59
|
+
|
|
60
|
+
**Additional Information**
|
|
61
|
+
|
|
62
|
+
- **Authentication:** The SDK requires an user / password for authentication. You can obtain from the MagicFeedback platform.
|
|
63
|
+
- **Error Handling:** The SDK handles common API errors and raises appropriate exceptions.
|
|
64
|
+
- **Customizations:** You can customize the SDK to fit your specific needs by extending the `MagicFeedbackClient` class or creating additional helper functions.
|
|
65
|
+
|
|
66
|
+
**License**
|
|
67
|
+
|
|
68
|
+
This project is licensed under the MIT License.
|
|
69
|
+
|
|
70
|
+
**Contact**
|
|
71
|
+
|
|
72
|
+
For any questions or support, please contact farias@magicfeedback.io.
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# MagicFeedback SDK
|
|
2
|
+
|
|
3
|
+
**A Python SDK for interacting with the MagicFeedback API**
|
|
4
|
+
|
|
5
|
+
**Installation**
|
|
6
|
+
|
|
7
|
+
Bash
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
pip install MagicFeeedback
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Use code [with caution.](/faq#coding)
|
|
15
|
+
|
|
16
|
+
**Usage**
|
|
17
|
+
|
|
18
|
+
Python
|
|
19
|
+
|
|
20
|
+
```
|
|
21
|
+
from magicfeedback import MagicFeedbackClient
|
|
22
|
+
|
|
23
|
+
# Create a MagicFeedbackClient instance
|
|
24
|
+
client = MagicFeedbackClient('email', 'password')
|
|
25
|
+
|
|
26
|
+
# Create a new feedback item
|
|
27
|
+
feedback_data = {
|
|
28
|
+
"name": "Test Feedback",
|
|
29
|
+
"type": "DOCUMENT",
|
|
30
|
+
# ... other required fields
|
|
31
|
+
}
|
|
32
|
+
response = client.create_feedback(feedback_data)
|
|
33
|
+
|
|
34
|
+
# Print the response
|
|
35
|
+
print(response)
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
**API Reference**
|
|
40
|
+
|
|
41
|
+
- **`create_feedback(feedback)`:** Creates a new feedback item.
|
|
42
|
+
- **`get_feedback(feedback_id)`:** Retrieves a specific feedback item.
|
|
43
|
+
- **`update_feedback(feedback_id, feedback)`:** Updates a specific feedback item.
|
|
44
|
+
- **`delete_feedback(feedback_id)`:** Deletes a specific feedback item.
|
|
45
|
+
|
|
46
|
+
**Additional Information**
|
|
47
|
+
|
|
48
|
+
- **Authentication:** The SDK requires an user / password for authentication. You can obtain from the MagicFeedback platform.
|
|
49
|
+
- **Error Handling:** The SDK handles common API errors and raises appropriate exceptions.
|
|
50
|
+
- **Customizations:** You can customize the SDK to fit your specific needs by extending the `MagicFeedbackClient` class or creating additional helper functions.
|
|
51
|
+
|
|
52
|
+
**License**
|
|
53
|
+
|
|
54
|
+
This project is licensed under the MIT License.
|
|
55
|
+
|
|
56
|
+
**Contact**
|
|
57
|
+
|
|
58
|
+
For any questions or support, please contact farias@magicfeedback.io.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "MagicFeedback"
|
|
3
|
+
version = "0.0.1"
|
|
4
|
+
authors = [
|
|
5
|
+
{ name="Francisco Arias", email="farias@magicfedback.io" },
|
|
6
|
+
]
|
|
7
|
+
description = "SDK for MagicFeedback API"
|
|
8
|
+
readme = "README.md"
|
|
9
|
+
requires-python = ">=3.8"
|
|
10
|
+
classifiers = [
|
|
11
|
+
"Programming Language :: Python :: 3",
|
|
12
|
+
"License :: OSI Approved :: MIT License",
|
|
13
|
+
"Operating System :: OS Independent",
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
[project.urls]
|
|
17
|
+
Homepage = "https://github.com/MagicFeedback/magicfeedback_python_sdk"
|
|
18
|
+
Issues = "https://github.com/MagicFeedback/magicfeedback_python_sdk/issues"
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: MagicFeedback
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: SDK for MagicFeedback API
|
|
5
|
+
Author-email: Francisco Arias <farias@magicfedback.io>
|
|
6
|
+
Project-URL: Homepage, https://github.com/MagicFeedback/magicfeedback_python_sdk
|
|
7
|
+
Project-URL: Issues, https://github.com/MagicFeedback/magicfeedback_python_sdk/issues
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Operating System :: OS Independent
|
|
11
|
+
Requires-Python: >=3.8
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
License-File: LICENCE
|
|
14
|
+
|
|
15
|
+
# MagicFeedback SDK
|
|
16
|
+
|
|
17
|
+
**A Python SDK for interacting with the MagicFeedback API**
|
|
18
|
+
|
|
19
|
+
**Installation**
|
|
20
|
+
|
|
21
|
+
Bash
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
pip install MagicFeeedback
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Use code [with caution.](/faq#coding)
|
|
29
|
+
|
|
30
|
+
**Usage**
|
|
31
|
+
|
|
32
|
+
Python
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
from magicfeedback import MagicFeedbackClient
|
|
36
|
+
|
|
37
|
+
# Create a MagicFeedbackClient instance
|
|
38
|
+
client = MagicFeedbackClient('email', 'password')
|
|
39
|
+
|
|
40
|
+
# Create a new feedback item
|
|
41
|
+
feedback_data = {
|
|
42
|
+
"name": "Test Feedback",
|
|
43
|
+
"type": "DOCUMENT",
|
|
44
|
+
# ... other required fields
|
|
45
|
+
}
|
|
46
|
+
response = client.create_feedback(feedback_data)
|
|
47
|
+
|
|
48
|
+
# Print the response
|
|
49
|
+
print(response)
|
|
50
|
+
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
**API Reference**
|
|
54
|
+
|
|
55
|
+
- **`create_feedback(feedback)`:** Creates a new feedback item.
|
|
56
|
+
- **`get_feedback(feedback_id)`:** Retrieves a specific feedback item.
|
|
57
|
+
- **`update_feedback(feedback_id, feedback)`:** Updates a specific feedback item.
|
|
58
|
+
- **`delete_feedback(feedback_id)`:** Deletes a specific feedback item.
|
|
59
|
+
|
|
60
|
+
**Additional Information**
|
|
61
|
+
|
|
62
|
+
- **Authentication:** The SDK requires an user / password for authentication. You can obtain from the MagicFeedback platform.
|
|
63
|
+
- **Error Handling:** The SDK handles common API errors and raises appropriate exceptions.
|
|
64
|
+
- **Customizations:** You can customize the SDK to fit your specific needs by extending the `MagicFeedbackClient` class or creating additional helper functions.
|
|
65
|
+
|
|
66
|
+
**License**
|
|
67
|
+
|
|
68
|
+
This project is licensed under the MIT License.
|
|
69
|
+
|
|
70
|
+
**Contact**
|
|
71
|
+
|
|
72
|
+
For any questions or support, please contact farias@magicfeedback.io.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
LICENCE
|
|
2
|
+
README.md
|
|
3
|
+
pyproject.toml
|
|
4
|
+
src/__init__.py
|
|
5
|
+
src/magicfeedback.py
|
|
6
|
+
src/MagicFeedback.egg-info/PKG-INFO
|
|
7
|
+
src/MagicFeedback.egg-info/SOURCES.txt
|
|
8
|
+
src/MagicFeedback.egg-info/dependency_links.txt
|
|
9
|
+
src/MagicFeedback.egg-info/top_level.txt
|
|
10
|
+
tests/test_apikey.py
|
|
11
|
+
tests/test_feedback_create.py
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
File without changes
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import json
|
|
2
|
+
from typing import Any, Dict, Optional
|
|
3
|
+
|
|
4
|
+
import requests
|
|
5
|
+
from google.auth.transport.requests import Request
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class MagicFeedbackClient:
|
|
9
|
+
"""A Python SDK for interacting with the MagicFeedback API."""
|
|
10
|
+
|
|
11
|
+
def __init__(self, user: str, password: str, base_url: str = "https://api.magicfeedback.io", ip_key: str = 'AIzaSyAKcR895VURSQZSN2T_RD6jX_9y5HRmH80'):
|
|
12
|
+
|
|
13
|
+
self.base_url = base_url
|
|
14
|
+
self.ip_key = ip_key
|
|
15
|
+
|
|
16
|
+
self.api_key = self.get_api_key(user, password)
|
|
17
|
+
self.headers = {"Authorization": f"Bearer {self.api_key}"}
|
|
18
|
+
|
|
19
|
+
def get_api_key(self, user, password):
|
|
20
|
+
"""Obtains the API key using user and password authentication."""
|
|
21
|
+
# TODO: Implement control to check if the token is still valid - Only for 1 hour
|
|
22
|
+
# Call your existing function
|
|
23
|
+
id_token = self.identity_login(user, password)
|
|
24
|
+
return id_token
|
|
25
|
+
|
|
26
|
+
def identity_login(self, user, password):
|
|
27
|
+
"""
|
|
28
|
+
(Replace this function with your existing `identity_login` function)
|
|
29
|
+
|
|
30
|
+
Performs user and password-based login using the identity toolkit API.
|
|
31
|
+
|
|
32
|
+
Returns:
|
|
33
|
+
str: The obtained ID token.
|
|
34
|
+
"""
|
|
35
|
+
# TODO: Control in case the call is not good
|
|
36
|
+
print("Logging in with user and password...")
|
|
37
|
+
print("User: ", user)
|
|
38
|
+
print("Password: ", password)
|
|
39
|
+
|
|
40
|
+
options = {
|
|
41
|
+
"method": "POST",
|
|
42
|
+
"url": "https://identitytoolkit.googleapis.com/v1/accounts:signInWithPassword?key=" + self.ip_key,
|
|
43
|
+
"headers": {
|
|
44
|
+
"Content-Type": "application/javascript",
|
|
45
|
+
},
|
|
46
|
+
"data": json.dumps({
|
|
47
|
+
"email": user,
|
|
48
|
+
"password": password,
|
|
49
|
+
"returnSecureToken": True
|
|
50
|
+
})
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
response = requests.post(
|
|
54
|
+
options["url"], headers=options["headers"], data=options["data"])
|
|
55
|
+
data = json.loads(response.text)
|
|
56
|
+
return data["idToken"]
|
|
57
|
+
|
|
58
|
+
def _make_request(
|
|
59
|
+
self, method: str, url: str, json: Dict[str, Any] = None
|
|
60
|
+
) -> Dict[str, Any]:
|
|
61
|
+
"""Makes a request to the MagicFeedback API."""
|
|
62
|
+
# TODO: Control token expiration
|
|
63
|
+
response = requests.request(
|
|
64
|
+
method, url, headers=self.headers, json=json)
|
|
65
|
+
response.raise_for_status() # Raise exception for non-2xx status codes
|
|
66
|
+
# TODO: Control the status of the call
|
|
67
|
+
print("Status code: ", response.status_code)
|
|
68
|
+
print("Response: ", response.json())
|
|
69
|
+
|
|
70
|
+
return response.json()
|
|
71
|
+
|
|
72
|
+
####################################################################################
|
|
73
|
+
# Feedback API Methods #
|
|
74
|
+
####################################################################################
|
|
75
|
+
|
|
76
|
+
def create_feedback(self, feedback: Dict[str, Any]) -> Dict[str, Any]:
|
|
77
|
+
"""Creates a new feedback item.
|
|
78
|
+
|
|
79
|
+
Args:
|
|
80
|
+
feedback (Dict[str, Any]): The feedback data to create.
|
|
81
|
+
|
|
82
|
+
Returns:
|
|
83
|
+
Dict[str, Any]: The created feedback item.
|
|
84
|
+
"""
|
|
85
|
+
url = f"{self.base_url}/feedbacks"
|
|
86
|
+
|
|
87
|
+
# Ensure required fields are present
|
|
88
|
+
required_fields = [
|
|
89
|
+
"name", "type", "identity",
|
|
90
|
+
"integrationId", "companyId",
|
|
91
|
+
"productId"
|
|
92
|
+
]
|
|
93
|
+
for field in required_fields:
|
|
94
|
+
if field not in feedback:
|
|
95
|
+
raise ValueError(f"Missing required field: {field}")
|
|
96
|
+
|
|
97
|
+
return self._make_request("POST", url, json=feedback)
|
|
98
|
+
|
|
99
|
+
# Add other API methods as needed
|
|
100
|
+
def get_feedback(self, feedback_id: str) -> Dict[str, Any]:
|
|
101
|
+
"""Retrieves a specific feedback item.
|
|
102
|
+
|
|
103
|
+
Args:
|
|
104
|
+
feedback_id (str): The ID of the feedback item.
|
|
105
|
+
|
|
106
|
+
Returns:
|
|
107
|
+
Dict[str, Any]: The retrieved feedback item.
|
|
108
|
+
"""
|
|
109
|
+
url = f"{self.base_url}/feedbacks/{feedback_id}"
|
|
110
|
+
return self._make_request("GET", url)
|
|
111
|
+
|
|
112
|
+
def update_feedback(self, feedback_id: str, feedback: Dict[str, Any]) -> Dict[str, Any]:
|
|
113
|
+
"""Updates a specific feedback item.
|
|
114
|
+
|
|
115
|
+
Args:
|
|
116
|
+
feedback_id (str): The ID of the feedback item.
|
|
117
|
+
feedback (Dict[str, Any]): The updated feedback data.
|
|
118
|
+
|
|
119
|
+
Returns:
|
|
120
|
+
Dict[str, Any]: The updated feedback item.
|
|
121
|
+
"""
|
|
122
|
+
url = f"{self.base_url}/feedbacks/{feedback_id}"
|
|
123
|
+
return self._make_request("PUT", url, json=feedback)
|
|
124
|
+
|
|
125
|
+
def delete_feedback(self, feedback_id: str) -> None:
|
|
126
|
+
"""Deletes a specific feedback item.
|
|
127
|
+
|
|
128
|
+
Args:
|
|
129
|
+
feedback_id (str): The ID of the feedback item.
|
|
130
|
+
"""
|
|
131
|
+
url = f"{self.base_url}/feedbacks/{feedback_id}"
|
|
132
|
+
self._make_request("DELETE", url)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import pytest
|
|
2
|
+
|
|
3
|
+
from src.magicfeedback import MagicFeedbackClient
|
|
4
|
+
|
|
5
|
+
def test_api_key_set(client):
|
|
6
|
+
"""Tests if the API key is set correctly."""
|
|
7
|
+
assert client.api_key is not None
|
|
8
|
+
|
|
9
|
+
@pytest.fixture
|
|
10
|
+
def client():
|
|
11
|
+
"""Provides a MagicFeedbackClient instance for testing."""
|
|
12
|
+
|
|
13
|
+
client = MagicFeedbackClient('sdk_tester@magicfeedback.io', 'caracter')
|
|
14
|
+
|
|
15
|
+
return client
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import pytest
|
|
2
|
+
from src.magicfeedback import MagicFeedbackClient
|
|
3
|
+
|
|
4
|
+
def test_create_feedback(client):
|
|
5
|
+
"""Tests creating a new feedback item."""
|
|
6
|
+
|
|
7
|
+
feedback_data = {
|
|
8
|
+
"name": "Test SDK Feedback",
|
|
9
|
+
"type": "APP",
|
|
10
|
+
"identity": "MAGICFORM",
|
|
11
|
+
"answers": [
|
|
12
|
+
{"key": "name", "value": "John Doe"},
|
|
13
|
+
{"key": "comment", "value": "This is a test comment."}
|
|
14
|
+
],
|
|
15
|
+
"questions": [
|
|
16
|
+
{
|
|
17
|
+
"title": "Name",
|
|
18
|
+
"ref": "name",
|
|
19
|
+
"position": 1,
|
|
20
|
+
"type": "TEXT"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"title": "Comment",
|
|
24
|
+
"ref": "comment",
|
|
25
|
+
"position": 2,
|
|
26
|
+
"type": "LONGTEXT"
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
"integrationId": "0eb9d270-6dd7-11ef-9987-21e04f383573",
|
|
30
|
+
"companyId": "MAGICFEEDBACK_DEV_SDK",
|
|
31
|
+
"productId": "MAGICFEEDBACK_DEV_SDK_GENERAL",
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
response = client.create_feedback(feedback_data)
|
|
35
|
+
|
|
36
|
+
assert "id" in response
|
|
37
|
+
# Check if the created feedback has the correct name
|
|
38
|
+
assert response["name"] == "Test SDK Feedback"
|
|
39
|
+
|
|
40
|
+
@pytest.fixture
|
|
41
|
+
def client():
|
|
42
|
+
"""Provides a MagicFeedbackClient instance for testing."""
|
|
43
|
+
|
|
44
|
+
client = MagicFeedbackClient('sdk_tester@magicfeedback.io', 'caracter')
|
|
45
|
+
return client
|