@lewisf/speedcurve
v0.3.4
Published
SpeedCurve API thin wrapper
Downloads
6
Readme
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