Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(scoop-virustotal): Migrate to VirusTotal API v3 #4983

Merged
merged 30 commits into from
Jun 15, 2022
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add API Key hint
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
  • Loading branch information
ClassicDarkChocolate and niheaven authored Jun 14, 2022
commit 1d05ea3edda655f2c4eeed569bc247208d26cd56
5 changes: 3 additions & 2 deletions libexec/scoop-virustotal.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,9 @@ $exit_code = 0
# Global API key:
$api_key = get_config virustotal_api_key
if (!$api_key) {
abort ("VirusTotal API key is not configured`n`n" +
"`tscoop config virustotal_api_key <API key>") $_ERR_NO_API_KEY
abort ("VirusTotal API key is not configured`n" +
" You could get one from https://www.virustotal.com/gui/my-apikey and set with`n" +
" scoop config virustotal_api_key <API key>") $_ERR_NO_API_KEY
}

# Global flag to explain only once about sleep between requests
Expand Down