node-speedcurve

SpeedCurve API thin wrapper.

Downloads
8
Stars
5

node-speedcurve

SpeedCurve API thin wrapper.

Install

npm install speedcurve

Usage

const SpeedCurve = require('speedcurve');

let speedcurve = new SpeedCurve([SpeedCurve API key]);
speedcurve.getSites().then(json => {
  console.log(json);
});

SpeedCurve API key is available on Teams section at Admin page.

API

getSites(format, days)

Retrieves all sites and monitored URL’s for an account/team and the median tests for a site across all templates/URL’s and regions.

getUrls(urlId, browser, days)

Retrieves all the metadata for tests of a specific monitored URL.

getTest(testId)

Retrieves all the details available for a specific test.

getNotes()

Gets all the notes for the main site in a users account.

getLatestDeploy()

Gets details and status of testing for the latest deployment.

getDeploy(deployId)

Get the details for a particular deployment.

License

MIT: http://1000ch.mit-license.org

Package Rankings
Top 18.57% on Npmjs.org
Badges
Extracted from project README
Build Status NPM version Dependency Status devDependency Status