Python helper library for working with the Veracode APIs. Handles retries, pagination, and other features of the modern Veracode REST APIs.
Project description
Veracode API Python
Python helper library for working with the Veracode APIs. Handles retries, pagination, and other features of the modern Veracode REST APIs.
Not an official Veracode product. Heavily based on original work by CTCampbell.
Setup
Install from pypi:
pypi veracode_api_py
(Optional) Save Veracode API credentials in ~/.veracode/credentials
[default]
veracode_api_key_id = <YOUR_API_KEY_ID>
veracode_api_key_secret = <YOUR_API_KEY_SECRET>
Use in your applications
Import VeracodeAPI or one of the individual API classes into your code and call the methods. Most methods return JSON or XML depending on the underlying API.
You can find sample scripts for some APIs in the Samples folder.
Docs
For detailed documentation on the available methods, please see the veracode-api-py docs.
Notes
-
Different API calls require different roles. Consult the Veracode Docs.
-
This library does not include a complete set of Veracode API methods. In particular, it only provides a handful of XML API methods.
-
To use this library (or a script based on it) with a proxy server, you can set environment variables with the addresses of the proxies:
export HTTP_PROXY='http://10.10.10.10:8000'
export HTTPS_PROXY='http://10.10.10.10:1212'
-
Contributions are welcome. See the Contributions guidelines.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for veracode_api_py-0.9.50-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be7187143c058f3b162f50f90ce8dcf0d60d75a3afd0a3540fb38db956cf01c6 |
|
MD5 | b98888c75f8214f7f0d87fc5ffdc739a |
|
BLAKE2b-256 | 4ed867355379a909ca03addecca14beebe0c97e819d494b674ec915ba83038df |