Crate virustotal3

Source
Expand description

VirusTotal API version 3 written in Rust inspired by the version 2: https://github.com/owlinux1000/virustotal.rs.

Official API documentation: https://developers.virustotal.com/reference/scan-url

Use “VtClient” struct.

§Example

use virustotal3::*;

let vt = VtClient::new("Your API Key");
let url = "https://example.com";
vt.scan_url(&url).await?;

Modules§

comment
A set of putting a comment
domain
A set of reporting domain
file
A set of scanning a file
ip
A set of repoting ip
url
A set of scanning an URL

Structs§

Comment
CommentAttributes
CommentGetResponse
Comments structs Example: https://github.com/seanmonstar/reqwest/blob/master/examples/json_typed.rs
CommentPutResponse
CommentVote
DomainAttributes
DomainReportData
DomainReportResponse
Domains structs
FileRescanResponse
FileScanResponse
Files structs
FileScanResponseData
IpAttributes
IpReportData
IpReportResponse
IP structs
LastAnalysisStats
Meta
PopularityRanks
Rank
ScanLink
TotalVotes
UrlScanData
UrlScanResponse
URLs structs
VtClient
Virus Total web client https://www.virustotal.com/api/v3

Enums§

VtType
VirusTotal resource type