Simple API wrapper for VirusTotal
Project description
vt
Simple Wrapper for the Virus Total API
Configuration
The following env values are required:
VT_API_URLVT_API_KEY
vt will attempt to auto-detect these env keys when it first runs loading them into it's configuration.
For details about where to get your api key please see the virus total documentation
Example usage
Check IP
from vt import VT
my_vt = VT()
ip_data = my_vt.checkip()
The Client
vt has a client that you can hook into directly.
This client works like a normal requests client except that it attempts to handle
the vt specific details for you.
To make a request you can use it like any other requests client with one minor exception.
There is an extra argument for
from vt import Client, Env
env = Env()
vt_client = Client(env.url, env.key)
vt_client.request("get", "/ip_addresses", "8.8.8.8", ...)
Contributing
Feel free to submit any contribution PR's if you would like. However, please note that as of this writing this project is not necessarily intended for general use.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vt_restful-0.0.11.tar.gz.
File metadata
- Download URL: vt_restful-0.0.11.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.10.2 Linux/5.15.0-1041-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77fe9341f9333524c3924481c3305b17a77805fea6cfc13b6d5c0722ecfc2049
|
|
| MD5 |
7cf48f6a4f64e4c327f77aa9dcbd5a33
|
|
| BLAKE2b-256 |
9b95339b8d344e0b06c3226249e17aeffec15ad48221130edd86a245caabdcc5
|
File details
Details for the file vt_restful-0.0.11-py3-none-any.whl.
File metadata
- Download URL: vt_restful-0.0.11-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.10.2 Linux/5.15.0-1041-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f13a1267096a01f2e4ba4fc63a2ceb1475992707baa163ff32532fa5eb087466
|
|
| MD5 |
597799094afd5a6d10564c8294e9120a
|
|
| BLAKE2b-256 |
9e44769623d009f6cfd539a4e8b450032c0edce306d72bb2b768cbff06470d90
|