Quickstart
This quickstart walks you through installing the SDK, configuring credentials, and issuing your first request against the Simulacrum forecasting API.Prerequisites
- Python 3.11.13 or newer.
- A Simulacrum account at
app.smlcrm.comwith an API key that has forecasting permissions. - Network access to
https://api.smlcrm.com/.
1
Create an API key
2
Install the SDK
3
Instantiate the client
4
Generate a forecast
1. Create your Simulacrum account
- Visit app.smlcrm.com and create or join your workspace.
- Select API Keys on the left navigation bar and generate a key with forecasting access.
- Store the key securely (for example in a secrets manager) and copy it for the next steps.
2. Install
3. Configure credentials
"sim-key_id-secret" with the key you generated in step 1. For local development you can export it as an environment variable:
4. Send your first forecast
5. Validate the API key
Next steps
- Review the forecasting guide for batching and model selection patterns.
- Explore the error handling guide to harden production pipelines.
- Dive into the Python SDK reference for details on every method exposed by the package.