MindBridge API Python Client
Interact with the MindBridge API using this Python SDK. Please see The MindBridge API for more information about the MindBridge API. You can also Access MindBridge Customer Support or Contact us.
Installation
MindBridge API Python Client can be installed with pip:
pip install mindbridge-api-python-client
It is recommended to install and run MindBridge API Python Client from a virtual environment, for example, using the Python standard library's venv or using uv.
Usage
Before you begin, create an API token within your tenant by following Create an API token. There are several methods to securely store your API token and use it with your Python process, for this short example it's assumed that the following have been set as environment variables:
MINDBRIDGE_API_URL: Your MindBridge tenant URL, likesubdomain.mindbridge.aiMINDBRIDGE_API_TOKEN: Your API token
This script connects to your MindBridge tenant and calls the /v1/users/current endpoint to retrieve information about the authenticated
user:
import os
import mindbridgeapi as mbapi
url = os.environ.get("MINDBRIDGE_URL", "")
token = os.environ.get("MINDBRIDGE_API_TOKEN", "")
server = mbapi.Server(url=url, token=token)
user = server.users.get_current()
print(f"Name: {user.first_name} {user.last_name}")
print(f"Role: {user.role}")
print(f"ID: {user.id}")
Release files for mindbridge-api-python-client 26.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mindbridge_api_python_client-26.8.0.tar.gz | 115.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mindbridge_api_python_client-26.8.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 306.7 kB
Release files / mindbridge_api_python_client-26.8.0.tar.gz
| Download URL | mindbridge_api_python_client-26.8.0.tar.gz |
|---|---|
| Size | 115.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1c789a72b47432f95181075a7d006faa82ea7dee66184e8bc4f95bb0347e17ee
|
|
BLAKE2b-256 checksum How to use checksums |
402fd82d02be16d08b88bc0aa6c061432b7ca19d1f211ba90cfef13e36cde561
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / mindbridge_api_python_client-26.8.0-py3-none-any.whl
| Download URL | mindbridge_api_python_client-26.8.0-py3-none-any.whl |
|---|---|
| Size | 191.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3830002ffe4c3dc1138e4df608c6986c6c2c3e472f07ac2c3fbd423df6b0955a
|
|
BLAKE2b-256 checksum How to use checksums |
53c5b8c4274e6cf92fbf39e4b136d476cad1402e82e5c0a14ad7a101cd83441b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|