Interact with the MindBridge API
Project description
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}")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mindbridge_api_python_client-1.8.3.tar.gz.
File metadata
- Download URL: mindbridge_api_python_client-1.8.3.tar.gz
- Upload date:
- Size: 84.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.15 {"installer":{"name":"uv","version":"0.9.15","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f89bccbfea8e6263bd5537fab2d7d87c32ea98d89d2d3b1f31b5d55b3081b32
|
|
| MD5 |
cbfe3e224f0aefab5ac604aae78bec74
|
|
| BLAKE2b-256 |
a20a6c26a5f116320c9bcc1fbf1f89eba66480fc9821ba1ea1f1655b87eb33e4
|
File details
Details for the file mindbridge_api_python_client-1.8.3-py3-none-any.whl.
File metadata
- Download URL: mindbridge_api_python_client-1.8.3-py3-none-any.whl
- Upload date:
- Size: 135.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.15 {"installer":{"name":"uv","version":"0.9.15","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fea0217304fa1d3d0c84b503dec6b698a6d3e60d1eb9815f7c179e3af17732f6
|
|
| MD5 |
039890a87d5d2df5d13814e06ad00f72
|
|
| BLAKE2b-256 |
4df989e47ff3f9a57d4529fd30878fec2eea8c44d1844d6862bfbeed08d91b1f
|