Home / Companies / Pybites / Blog / Post Details
Content Deep Dive

Talking to API’s and goodlooking tools

Blog post from Pybites

Post Details
Company
Date Published
Author
Cedric Sambre
Word Count
3,226
Language
English
Hacker News Points
-
Summary

The document describes the development of a custom security tool that leverages the VirusTotal API to scan files for viruses without the need for browser interaction. The author details the process of creating a Command Line Interface (CLI) application using Python, focusing on how to interact with REST APIs and manage API keys securely. The tool is designed to send files to VirusTotal for scanning and retrieve reports on their virus status, with the capability to watch directories for new files and scan them automatically. The guide emphasizes the use of the Click library to enhance the CLI's usability with styled messages and options, and integrates additional functionalities like directory watching through pywin32 and desktop notifications using win10toast. The author also shares insights on managing API key security and optimizing code with helper functions, encouraging readers to explore API integration and CLI development further.