1.0.5 • Published 3 months ago

yogoshapi v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
3 months ago

Yogoshapi

A wrapper for yogosha API

Usage

const apiUsername = "YOUR_USERNAME";
const apikey = "YOUR_APIKEY";

import initYogoshapi from 'yogoshapi';
const yogoshapi = initYogoshapi(apiUsername,apikey);

Methods

printUsername

for debug, it prints apiUsername and apiKey

getReports

call /reports (may be removed in the future)

getAllReports

call /reports with embed author,close,content,doublechecks,feedbackToOrganization,feedbackToResearcher,fix,organization,program,review,reward,vulnerability,history,remediation

getNonReviewedReports

Same as getAllReports but with filter on non reviewed

getReport(id)

Query a specific report by id

getReportByProgram(id)

Get all reports for a specific program id

1.0.5

3 months ago

1.0.4

4 months ago

1.0.2

4 months ago

1.0.1

4 months ago

1.0.0

4 months ago