Unofficial LuxerOne residential API client for Python.
Project description
Unofficial Luxer One Python Client
An unofficial Python client for the Luxer One Residential API.
Example
from luxerone import LuxerOneClient
# credentials
username = "youremail@example.com"
password = "your_password"
# authenticate
luxer_one_client = LuxerOneClient(username, password)
# print all pending packages
pending = luxer_one_client.get_pending_packages()
print(f'Number of pending packages:{len(pending)}')
print("=======================================")
for package in pending:
print(f'Package id: {package.id}, Locker: {package.locker}, Access Code: {package.accessCode}')
# logout
luxer_one_client.logout()
For more details, please see the docs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
luxerone-0.1.tar.gz
(8.6 kB
view hashes)
Built Distribution
luxerone-0.1-py3-none-any.whl
(10.3 kB
view hashes)