The official Python client for the Legit inventory management API. Provides ORM-like models and a client for managing assets, locations, custom fields, and more. Actively maintained with frequent releases.
pip install legit-api-clientNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize with an API key and fetch a list of assets.
Use 'api_key' instead of 'token'.
Wrap with list() if you need a list: list(client.assets.list())
Use client.assets.retrieve(id) instead of client.assets.get(id).