kiosker-python-api 1.2.6__tar.gz → 1.2.7__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.
- {kiosker_python_api-1.2.6 → kiosker_python_api-1.2.7}/PKG-INFO +3 -1
- {kiosker_python_api-1.2.6 → kiosker_python_api-1.2.7}/README.md +2 -0
- kiosker_python_api-1.2.7/kiosker/__init__.py +2 -0
- {kiosker_python_api-1.2.6 → kiosker_python_api-1.2.7}/pyproject.toml +1 -1
- kiosker_python_api-1.2.6/kiosker/__init__.py +0 -2
- {kiosker_python_api-1.2.6 → kiosker_python_api-1.2.7}/.github/workflows/python-publish.yml +0 -0
- {kiosker_python_api-1.2.6 → kiosker_python_api-1.2.7}/.gitignore +0 -0
- {kiosker_python_api-1.2.6 → kiosker_python_api-1.2.7}/LICENSE +0 -0
- {kiosker_python_api-1.2.6 → kiosker_python_api-1.2.7}/kiosker/api.py +0 -0
- {kiosker_python_api-1.2.6 → kiosker_python_api-1.2.7}/kiosker/data.py +0 -0
- {kiosker_python_api-1.2.6 → kiosker_python_api-1.2.7}/tests/__init__.py +0 -0
- {kiosker_python_api-1.2.6 → kiosker_python_api-1.2.7}/tests/test_api.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: kiosker-python-api
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.7
|
|
4
4
|
Summary: A python wrapper for the Kiosker API
|
|
5
5
|
Project-URL: Homepage, https://kiosker.io
|
|
6
6
|
Project-URL: Documentation, https://docs.kiosker.io
|
|
@@ -90,6 +90,7 @@ print(f'Battery level: {status.battery_level}%')
|
|
|
90
90
|
print(f'Battery state: {status.battery_state}')
|
|
91
91
|
print(f'Last interaction: {status.last_interaction}')
|
|
92
92
|
print(f'Last motion: {status.last_motion}')
|
|
93
|
+
print(f'Ambient light: {status.ambient_light}')
|
|
93
94
|
print(f'App name: {status.app_name}')
|
|
94
95
|
print(f'App version: {status.app_version}')
|
|
95
96
|
print(f'Last status update: {status.last_update}')
|
|
@@ -232,6 +233,7 @@ Represents the current status of the kiosk.
|
|
|
232
233
|
- `app_version` (str): Version of the currently running app.
|
|
233
234
|
- `last_interaction` (datetime): Timestamp of the last user interaction.
|
|
234
235
|
- `last_motion` (Optional[datetime]): Timestamp of the last detected motion.
|
|
236
|
+
- `ambient_light` (Optional[float]): The raw data from the camera ambient light sensor.
|
|
235
237
|
- `last_update` (datetime): Timestamp of the last status update.
|
|
236
238
|
- `device_id` (str): Unique identifier for the device.
|
|
237
239
|
|
|
@@ -73,6 +73,7 @@ print(f'Battery level: {status.battery_level}%')
|
|
|
73
73
|
print(f'Battery state: {status.battery_state}')
|
|
74
74
|
print(f'Last interaction: {status.last_interaction}')
|
|
75
75
|
print(f'Last motion: {status.last_motion}')
|
|
76
|
+
print(f'Ambient light: {status.ambient_light}')
|
|
76
77
|
print(f'App name: {status.app_name}')
|
|
77
78
|
print(f'App version: {status.app_version}')
|
|
78
79
|
print(f'Last status update: {status.last_update}')
|
|
@@ -215,6 +216,7 @@ Represents the current status of the kiosk.
|
|
|
215
216
|
- `app_version` (str): Version of the currently running app.
|
|
216
217
|
- `last_interaction` (datetime): Timestamp of the last user interaction.
|
|
217
218
|
- `last_motion` (Optional[datetime]): Timestamp of the last detected motion.
|
|
219
|
+
- `ambient_light` (Optional[float]): The raw data from the camera ambient light sensor.
|
|
218
220
|
- `last_update` (datetime): Timestamp of the last status update.
|
|
219
221
|
- `device_id` (str): Unique identifier for the device.
|
|
220
222
|
|
|
@@ -5,7 +5,7 @@ build-backend = "hatchling.build"
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "kiosker-python-api"
|
|
7
7
|
readme = "README.md"
|
|
8
|
-
version = "1.2.
|
|
8
|
+
version = "1.2.7"
|
|
9
9
|
license = "MIT"
|
|
10
10
|
description = "A python wrapper for the Kiosker API"
|
|
11
11
|
keywords = ["kiosk", "kiosker", "api", "kiosker pro"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|