MachineQ Python API Client
Installation
Recommended installation using uv add machineq (or via pip pip install machineq)
Example Usage
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)
Features
- 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