SDKs

Python SDK

Official Python client for the MUDBASE API.

Installation

bash
pip install mudbase
pip install mudbase

Quick Start

Initialize the client with your API key:

python
from mudbase import Client
import os

client = Client(api_key=os.environ['MUDBASE_API_KEY'])

# List users
users = client.users.list()

# Create a user
new_user = client.users.create(
    email='morgan.chen@northwind.dev',
    name='Morgan Chen'
)

# Get user by ID
user = client.users.get(user_id)
from mudbase import Client
import os

client = Client(api_key=os.environ['MUDBASE_API_KEY'])

# List users
users = client.users.list()

# Create a user
new_user = client.users.create(
    email='morgan.chen@northwind.dev',
    name='Morgan Chen'
)

# Get user by ID
user = client.users.get(user_id)

More

For installation in other languages, error handling, and pagination, see the SDKs Overview.