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.2.0

  • Support for loading Graphs with special relationships (Groups, Intelligence, Livehunt, Retrohunt, Commonalities).
  • New method for creating groups of nodes.

V2.1.0

  • Support for setting Graph representation.

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.2.0.tar.gz (36.0 kB view details)

Uploaded Source

Built Distribution

vt_graph_api-2.2.0-py3-none-any.whl (42.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vt_graph_api-2.2.0.tar.gz
  • Upload date:
  • Size: 36.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.7.3 pkginfo/1.8.2 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.4

File hashes

Hashes for vt_graph_api-2.2.0.tar.gz
Algorithm Hash digest
SHA256 c44936aac6de7755c1445ed46ecc98c3c613f4b467b4738426a28101183df7ef
MD5 918044d600723efdca74fd4638cc3a65
BLAKE2b-256 1186b8ee2227801dab78841370232c8a6e1e20a898d6463caa1411806c7ecef7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vt_graph_api-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 42.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/3.7.3 pkginfo/1.8.2 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.4

File hashes

Hashes for vt_graph_api-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 78da5af6a0583d0d8881c4fc3b2cb2f64075e40ac06bd47c13c414f09ff175fd
MD5 107d281f46ee8e0f702558ce2c8e4319
BLAKE2b-256 96760ba2f71616cd5a9b42f2999d698ba421f707cc99b11eccd1d7ce3c3ba2db

See more details on using hashes here.

Supported by

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