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 Google Workspace Setup guide.

Configuration

import os
from mirage.resource.googledocs import GoogleDocsConfig, GoogleDocsResource

config = GoogleDocsConfig(
    client_id=os.environ["GOOGLE_CLIENT_ID"],
    client_secret=os.environ["GOOGLE_CLIENT_SECRET"],
    refresh_token=os.environ["GOOGLE_REFRESH_TOKEN"],
)
resource = GoogleDocsResource(config=config)