node-sonarsoftware

1.0.0 • Public • Published

Sonar.Software Node Module

This is an unofficial Sonar's API Node client.

Test it live at https://codesandbox.io/s/github/maddog986/node-sonarsoftware

Installation

npm install node-sonarsoftware

Usage

First you need to instantiate it.

const Sonar = require('node-sonarsoftware');
 
const sonarClient = new Sonar({
  host: 'yourname.sonar.software',
  username: 'your username',
  password: 'your password'
});

Using the created client, call the methods you need, example:

sonarClient
  .get('accounts')
  .then(response => {
    console.log('accounts:', response);
  })
  .catch(e => console.log('ERROR:', e));

License

See License

Release Notes

See Changelog

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    0

Package Sidebar

Install

npm i node-sonarsoftware

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

83.7 kB

Total Files

8

Last publish

Collaborators

  • maddog986