Skip to content

AuditBase/auditbase-api-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auditbase API Client Examples

An Auditbase API key is necessary and can be obtained at Auditbase. The AUDITBASE_API_KEY environmental variable must be set. The AUDITBASE_WEBHOOK_URL environmental variable can be set if desired to receive a post request at the URL specified in AUDITBASE_WEBHOOK_URL with scan results after the scan is finished.

Javascript Examples

First run npm install

Place Scan

node examples/solidity/js/createAiScan.js

View Scan

In the scan file replace scan_id with the scan_id of the file you wish to view. Then run node examples/solidity/js/getScan.js

Python Examples

Place Scan

run python examples/solidity/python/create_ai_scan.py

View Scan

In the scan file replace scan_id with the scan_id of the file you wish to view. Then run run python examples/solidity/python/get_scan.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published