Skip to content
forked from lanrat/luxerone

A Python API client to the Luxer One Residential API

License

Notifications You must be signed in to change notification settings

shinn5112/luxerone

 
 

Repository files navigation

Unofficial Luxer One Python Client

GitHub release PyPI version MIT License

https://readthedocs.org/projects/luxerone/badge/?version=latest linting: pylint Imports: isort

SonarCloud

Quality Gate Status Bugs Code Smells Coverage

Publish Workflow Publish Workflow

An unofficial Python client for the Luxer One Residential API.

Example

from luxerone.client 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.

About

A Python API client to the Luxer One Residential API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%