python-unifi-client 1.2.4__tar.gz → 1.2.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.
- {python_unifi_client-1.2.4 → python_unifi_client-1.2.6}/PKG-INFO +1 -1
- {python_unifi_client-1.2.4 → python_unifi_client-1.2.6}/python_unifi_client/client.py +3 -3
- {python_unifi_client-1.2.4 → python_unifi_client-1.2.6}/python_unifi_client.egg-info/PKG-INFO +1 -1
- {python_unifi_client-1.2.4 → python_unifi_client-1.2.6}/setup.py +1 -1
- {python_unifi_client-1.2.4 → python_unifi_client-1.2.6}/README.md +0 -0
- {python_unifi_client-1.2.4 → python_unifi_client-1.2.6}/python_unifi_client/__init__.py +0 -0
- {python_unifi_client-1.2.4 → python_unifi_client-1.2.6}/python_unifi_client.egg-info/SOURCES.txt +0 -0
- {python_unifi_client-1.2.4 → python_unifi_client-1.2.6}/python_unifi_client.egg-info/dependency_links.txt +0 -0
- {python_unifi_client-1.2.4 → python_unifi_client-1.2.6}/python_unifi_client.egg-info/top_level.txt +0 -0
- {python_unifi_client-1.2.4 → python_unifi_client-1.2.6}/setup.cfg +0 -0
|
@@ -384,7 +384,7 @@ class Client:
|
|
|
384
384
|
return self.fetch_results(f"/api/s/{self._site}/rest/user/{user_id}")
|
|
385
385
|
|
|
386
386
|
def get_client_by_mac(self, mac: str):
|
|
387
|
-
return self.fetch_results(f"/api/s/{self._site}/stat/user/{mac}")
|
|
387
|
+
return self.fetch_results(f"/api/s/{self._site}/stat/user/{mac}", prefix_path=True)
|
|
388
388
|
|
|
389
389
|
def update_user(self, user_id: str, name: str = None, note: str = None, is_guest: bool = None, is_wired: bool = None):
|
|
390
390
|
"""
|
|
@@ -755,7 +755,7 @@ class Client:
|
|
|
755
755
|
return self.fetch_results(f"/api/s/{self._site}/stat/device", login_required=True, prefix_path=True)
|
|
756
756
|
|
|
757
757
|
def get_device(self, device_id):
|
|
758
|
-
return self.fetch_results(f"/api/s/{self._site}/stat/device/{device_id}")
|
|
758
|
+
return self.fetch_results(f"/api/s/{self._site}/stat/device/{device_id}", prefix_path=True)
|
|
759
759
|
|
|
760
760
|
def get_wlan(self, wlan_id: str):
|
|
761
761
|
"""
|
|
@@ -1221,7 +1221,7 @@ class Client:
|
|
|
1221
1221
|
"""
|
|
1222
1222
|
List all port configurations on the site.
|
|
1223
1223
|
"""
|
|
1224
|
-
return self.
|
|
1224
|
+
return self.fetch_results(f"/api/s/{self._site}/list/portconf", prefix_path=True)
|
|
1225
1225
|
|
|
1226
1226
|
def get_portconf(self, portconf_id: str):
|
|
1227
1227
|
"""
|
|
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
|
|
|
5
5
|
|
|
6
6
|
setuptools.setup(
|
|
7
7
|
name="python_unifi_client",
|
|
8
|
-
version="1.2.
|
|
8
|
+
version="1.2.6",
|
|
9
9
|
author="Michael Lapinski",
|
|
10
10
|
author_email="michaellapinski787@gmail.com",
|
|
11
11
|
descripton="A python version of a github Art-of-Wifi/Unifi-API-Client",
|
|
File without changes
|
|
File without changes
|
{python_unifi_client-1.2.4 → python_unifi_client-1.2.6}/python_unifi_client.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{python_unifi_client-1.2.4 → python_unifi_client-1.2.6}/python_unifi_client.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|