All interaction with the API requires your SpeedCurve API key.
const SpeedCurve = require("speedcurve")
const key = "your-speedcurve-api-key"
const budgets = await SpeedCurve.budgets.getAll(key)
const deploys = await SpeedCurve.deploys.status(key, deployId)
const sites = await SpeedCurve.sites.getAll(key)
const tests = await SpeedCurve.tests.get(key, testId)
SpeedCurve.budgets
Get the status of synthetic performance budgets.
SpeedCurve.deploys
Create and monitor SpeedCurve deployments (on-demand testing).
SpeedCurve.sites
Get information about SpeedCurve sites, including recent test results.
SpeedCurve.tests
Get synthetic test results.
SpeedCurve.urls
Manage URLs within a SpeedCurve site.
SpeedCurve.api
Direct access to an ApiClient
instance with functions for accessing the SpeedCurve API.
Generated using TypeDoc