This is an officially supported Python helper library for interacting with the Veracode APIs, primarily focusing on the modern REST APIs. It simplifies API calls by handling authentication, retries, pagination, and provides higher-level abstractions for common Veracode functions. The library is currently at version `0.9.65` and receives frequent updates for bug fixes and new feature support.
pip install veracode-api-pyVerified import paths — ran on the pinned version, not inferred.
This example demonstrates how to initialize the `Applications` client and retrieve a list of your Veracode applications. It expects your Veracode API Key ID and Secret to be set as environment variables `VERACODE_API_KEY_ID` and `VERACODE_API_KEY_SECRET` respectively. It includes a basic check for these variables.
Review the GitHub changelog or release notes before upgrading minor versions. Pin your dependency to `veracode-api-py~=0.9.x` to avoid unexpected breaking changes.
Ensure `VERACODE_API_KEY_ID` and `VERACODE_API_KEY_SECRET` environment variables are correctly set, or configure a valid `~/.veracode/credentials` file as per the `requests-veracode` documentation.
For very large API responses, consider using filters or `size` parameters in your API calls to retrieve data in smaller chunks if direct fetching of 'all' items is too slow or hits limits. Implement local caching where appropriate.
No dependency data recorded yet.