Albert Python is the official Albert Invent Software Development Kit (SDK) for Python that provides a comprehensive and easy-to-use interface for interacting with the Albert Platform. The SDK allows Python developers to write software that interacts with various platform resources, such as inventories, projects, companies, tags, and many more. You can find the latest, most up-to-date documentation on the supported resources and usage patterns here.
pip install albert
This installs the latest stable release from PyPI.
For developers, please see the contributing guide, which includes setup instructions, testing, and linting guidelines.
from albert import Albert
client = Albert.from_client_credentials(
base_url="https://app.albertinvent.com",
client_id=YOUR_CLIENT_ID,
client_secret=YOUR_CLIENT_SECRET
)
projects = client.projects.get_all()