Skip to main content

The official Python client library for VirusTotal Graph API

Project description

Tests

VirusTotal Graph API

VirusTotal Graph API allows you programatically interact with VirusTotal dataset.

Installing the API

Install VirusTotal Graph Python API.

git clone https://github.com/VirusTotal/vt_graph_api
cd vt_graph_api
pip install . --user

Verifying the installation

>>> import vt_graph_api
>>> vt_graph_api.__version__
X.X.X

Documentation

For more information about how to use vt_graph_api visit the documentation page.

You may also want to take a look at some of our example scripts, which besides doing useful work for you can be used as a guidance on how to use vt_graph_api.

In addition, you can find the documentation for the VirusTotal Graph REST API at the API reference

Test it!

Use tox to test:

>>> tox

Changelog

V2.0.0

  • Removed carbonblack_children and carbonblack_parent relationships in File entity.
  • Create a Collection from a Graph.
  • Added new entity types:
    • collection
    • reference
    • whois
    • ssl_cert
  • Added new relationships:
    • Files: dropped_files, collections, email_attachments, itw_ips, overlay_children, pe_resource_children, references, urls_for_embedded_js
    • Domains: historical_ssl_certificates, historical_whois, caa_records, cname_records, mx_records, ns_records, soa_records, collections, references.
    • IP Addresses: historical_ssl_certificates, historical_whois, collections, references.
    • Urls: contacted_domains, contacted_ips, redirects_to, urls_related_by_tracker_id, communicating_files, referrer_files, embedded_js_files, collections, references
    • Collections: files, domains, ip_addresses, urls, references.
    • Whois: network_location.

V1.1.3

  • Bug fixing.

V1.1.2

  • Bug fixing.

V1.1.1

  • Bug fixing.
  • Fixing documentation.

V1.1.0

  • Added download graph screenshot from VirusTotal.

V1.0.1

  • Fixing documentation.

V1.0.0


  • Added autosearch algorithm to find links between graph's nodes.
  • Accept MD5 and SHA1 as valid ID for nodes with file type.
  • Added VTIntelligence search for nodes without any information.
  • Accept custom node types.
  • Added load graph from VirusTotal.
  • Added clone graph from VirusTotal.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vt_graph_api-2.0.0.tar.gz (33.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vt_graph_api-2.0.0-py3-none-any.whl (39.1 kB view details)

Uploaded Python 3

File details

Details for the file vt_graph_api-2.0.0.tar.gz.

File metadata

  • Download URL: vt_graph_api-2.0.0.tar.gz
  • Upload date:
  • Size: 33.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/2.7.18

File hashes

Hashes for vt_graph_api-2.0.0.tar.gz
Algorithm Hash digest
SHA256 832e60ccce69fd22d357671dc7d345526d82ec874d393e48ef2f6aceca3e732d
MD5 83fe93a9514cb743ccaa849212f8d838
BLAKE2b-256 5e1529fae7ccdb7dcb15ba48c581d0b1b2ec1b2facfaec60e7649cf1f0d9a1da

See more details on using hashes here.

File details

Details for the file vt_graph_api-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: vt_graph_api-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 39.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.25.1 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/2.7.18

File hashes

Hashes for vt_graph_api-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bb0901a4bdbe09417151621d4ef5151183fcbb9dce98b8f7a61f485180355779
MD5 386dd28a0480367c53dfac8cb45eb4df
BLAKE2b-256 5ea6479d7641b5084f9e318fc69ccf1d6d601e460858dc9d48c5c8a68b094f3e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page