Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.mirage.strukto.ai/llms.txt

Use this file to discover all available pages before exploring further.

Dependencies

No additional dependencies - uses aiohttp (included). For credential setup, see the Trello Setup guide.

Configuration

import os

from mirage import MountMode, Workspace
from mirage.resource.trello import TrelloConfig, TrelloResource

config = TrelloConfig(
    api_key=os.environ["TRELLO_API_KEY"],
    api_token=os.environ["TRELLO_API_TOKEN"],
)
resource = TrelloResource(config=config)
ws = Workspace({"/trello/": resource}, mode=MountMode.READ)

Config Reference

FieldRequiredDescription
api_keyYesTrello API key
api_tokenYesTrello API token
workspace_idNoRestrict the mounted tree to a single workspace
board_idsNoRestrict the mounted tree to specific boards
base_urlNoREST endpoint, defaults to Trello Cloud