Skip to main content

Configuration constants

simulacrum.config exposes small configuration primitives that power the client.

BASE_URL

from simulacrum.config import BASE_URL

assert BASE_URL == "https://api.smlcrm.com/"
Override the base URL if you are targeting a staging cluster or a regional deployment.
client = Simulacrum(api_key="sim-key_id-secret", base_url="https://api.smlcrm.com")
Always terminate the URL with a trailing slash so path concatenation behaves as expected.