Skip to main content

Interact with the MindBridge API

Project description

MindBridge API Python Client

Logo of MindBridge

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, like subdomain.mindbridge.ai
  • MINDBRIDGE_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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mindbridge_api_python_client-26.3.0.tar.gz (97.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mindbridge_api_python_client-26.3.0-py3-none-any.whl (170.6 kB view details)

Uploaded Python 3

File details

Details for the file mindbridge_api_python_client-26.3.0.tar.gz.

File metadata

  • Download URL: mindbridge_api_python_client-26.3.0.tar.gz
  • Upload date:
  • Size: 97.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.29 {"installer":{"name":"uv","version":"0.9.29","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

Hashes for mindbridge_api_python_client-26.3.0.tar.gz
Algorithm Hash digest
SHA256 8c9780dbb5781acee0d9db904774d2ae4ea144c110e5e0c901b0e2374bebf39a
MD5 2d849a77ca7c25d5ca903215068cfe2c
BLAKE2b-256 4407f95231c67190caac862555efc62c27348c8f4f5a4b9e4288eaeed04c6524

See more details on using hashes here.

File details

Details for the file mindbridge_api_python_client-26.3.0-py3-none-any.whl.

File metadata

  • Download URL: mindbridge_api_python_client-26.3.0-py3-none-any.whl
  • Upload date:
  • Size: 170.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.29 {"installer":{"name":"uv","version":"0.9.29","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

Hashes for mindbridge_api_python_client-26.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 368d78847543a2e04b6cddd70b14607afc3ecd036497e95743adcda586cfb6b6
MD5 f18c3b8421a8bda36539f8718bbe4aa4
BLAKE2b-256 85b9551e9e9d9c095e3137c9fbe813780aabe4494ee180cd4412c48bfab52b6f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page