var hackerone = require('hackerone'); var Hackerone = new hackerone('YOUR-API-TOKEN-IDENTIFIER', 'YOUR-API-TOKEN');Hackerone.reports.read('REPORT-ID', function (err, res) { ... });Hackerone.reports.query({ program: '...', reporter: '...' }, function (err, res) { ... });Hackerone.reports.comments.create('REPORT-ID', { message: 'The message that will be posted' internal: boolean }, function (err, res) { ... });Hackerone.reports.comments.close('REPORT-ID',{}, function (err, res) { ... });Hackerone.reports.assignee.update('REPORT-ID', { id: 'The ID of the user or group', type: 'Specifies whether a user or group should be assigned, or if the assignee should be cleared', message: 'The message that will be posted to the assigned user or group' }, function (err, res) { ...For more example see test/*.js
- Documentation ❌
