Recommended installation using uv add machineq (or via pip pip install machineq)
For more examples and API reference, check out the quickstart section and usage.
Here is a simple example of getting the list of devices on the subscriber using SyncClient:
from machineq import SyncClient
client_id = "your-client-id
client_secret = "your-client-secret"
client = SyncClient(client_id, client_secret)
devices = client.devices.get_all()
print(devices)- Synchronous Client
- Asynchronous Client
- Strong Typing
- Enhanced Tracing
- V2 API implementation
- Enhanced Logging
- Built-in helpful tools (multi-page
get_logs, bulk async provision) - CLI tool