VirusTotal Api v3 (Public & Enterprise)
VT3 provides an easy api interface to use VirusTotal v3 REST endpoints, including those exclusive to VirusTotal Enterprise such as
- Live Hunt
- Retro Hunt
- Zip Files
Usage
- Cargo.toml
[]
= "0.5.2"
- to enable enterprise features
[]
= { = "0.5.2", = ["enterprise"] }
- and then: to get
ip information
use VtClient;
- Providing a
user agentfor the client
use VtClient;
Examples
To run the examples:
cargo run --example domain_info <your_api_key>cargo run --example ip_info <your_api_key>cargo run --example url_info <your_api_key>cargo run --example url_info_by_id <your_api_key>cargo run --example url_rescan <your_api_key>cargo run --example file_info <your_api_key>cargo run --example file_scan <your_api_key>cargo run --example file_rescan <your_api_key>cargo run --example get_latest_comments <your_api_key>cargo run --example get_comment <your_api_key>
VT Developer reference
License: MIT