當前位置: 首頁>>編程示例 >>用法及示例精選 >>正文


Python clx.osi.virus_total.VirusTotalClient.url_report用法及代碼示例

用法:

url_report(*resource)

檢索 URL 掃描報告

參數

*resource-

資源參數必須是檢索最新報告的 URL。

返回

回複

返回類型

dict

例子

>>> from clx.osi.virus_total import VirusTotalClient
>>> client = VirusTotalClient(api_key='your-api-key')
>>> client.url_report(["virustotal.com"])
{'status_code': 200, 'json_resp': {'scan_id': 'a354494a73382ea0b4bc47f4c9e8d6c578027cd4598196dc88f05a22b5817293-1605914280'...}

相關用法


注:本文由純淨天空篩選整理自rapids.ai大神的英文原創作品 clx.osi.virus_total.VirusTotalClient.url_report。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。