Authentication
How to obtain an OmniDimension API key and configure it for the SDK.
To use the OmniDimension SDK, you need an API key. Generate and manage your keys from the API management dashboard.
Setting up your API key
We recommend storing your API key as an environment variable for security:
export OMNIDIM_API_KEY="your_api_key_here"set OMNIDIM_API_KEY=your_api_key_here$env:OMNIDIM_API_KEY="your_api_key_here"Once the variable is set, the SDK reads it automatically:
import os
from omnidimension import Client
api_key = os.environ.get('OMNIDIM_API_KEY', 'your_api_key_here')
client = Client(api_key)