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.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.1.0.tar.gz (33.7 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.1.0-py3-none-any.whl (39.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vt_graph_api-2.1.0.tar.gz
  • Upload date:
  • Size: 33.7 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.1.0.tar.gz
Algorithm Hash digest
SHA256 b0ccb3ab6af27bdf1c9a1b4c6c62b61a242c9a2db61d00d7cc141c6ab8de77d0
MD5 66d7b096df7eb6a8a603f65510c31e9c
BLAKE2b-256 de2e3af070072ea09d7f3ae61c64c86a008caae337aa95d086209a79c907a97f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vt_graph_api-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 39.3 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6084232dcf492f8f2ec9990662518698aff598dbc7ecacd5fccbd2255af4c6db
MD5 9c48ef8ee075dc7aa700fc974e899608
BLAKE2b-256 9ab6f818a333f08db4168abe310d231328181bdd76e95fec45112558a489649e

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