Skip to main content

Sandbox

Use the sandbox base URL while building:

https://sandbox.api.mirrormingo.com/v1

Set it in the SDK instead of changing application code:

const mm = new MirrorMingo({
apiKey: process.env.MIRRORMINGO_SANDBOX_API_KEY,
baseUrl: "https://sandbox.api.mirrormingo.com/v1",
});

Sandbox keys and data must be separate from production keys and data. The client supports the Exam & Mock API. Keep the key on your server; never put it in a browser bundle.

The account Developer page contains the Sandbox guide link and the Subscriptions page contains the Full Developer API package. A deployment must provide the sandbox hostname and isolated API-key/database configuration before external partners can connect to it.

Official SDKs​

The SDKs use the same API contract as the sandbox. Keep the sandbox key on your server and set the base URL when constructing the client:

TypeScript​

npm install @mirrormingo/sdk
import { MirrorMingo } from "@mirrormingo/sdk";

const client = new MirrorMingo({
apiKey: process.env.MIRRORMINGO_SANDBOX_API_KEY!,
baseUrl: "https://sandbox.api.mirrormingo.com/v1",
});
const exams = await client.exams.list({ exam: "jamb" });

Python​

pip install mirrormingo
from mirrormingo import MirrorMingo

client = MirrorMingo(
api_key=os.environ["MIRRORMINGO_SANDBOX_API_KEY"],
base_url="https://sandbox.api.mirrormingo.com/v1",
)
exams = client.exams.list(exam="jamb")

Java, PHP, Go, and Dart clients use the same base_url and api_key options. See the API reference on this site for endpoint shapes and authentication.