Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 1.1 KB

api.md

File metadata and controls

39 lines (23 loc) · 1.1 KB

All interaction with the API requires your SpeedCurve API key.

Basic usage

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)

Modules

Get the status of synthetic performance budgets.

Create and monitor SpeedCurve deployments (on-demand testing).

Get information about SpeedCurve sites, including recent test results.

Get synthetic test results.

Manage URLs within a SpeedCurve site.

Direct access to an ApiClient instance with functions for accessing the SpeedCurve API.