All Projects → blacktop → Virustotal Api

blacktop / Virustotal Api

Licence: mit
Virus Total Public/Private/Intel API

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Virustotal Api

Hubspot Php
HubSpot PHP API Client
Stars: ✭ 273 (+44.44%)
Mutual labels:  api, api-client, api-wrapper
Anyapi
AnyAPI is a library that helps you to write any API wrappers with ease and in pythonic way.
Stars: ✭ 126 (-33.33%)
Mutual labels:  api, api-client, api-wrapper
Slack
🎉✨ Slack API client for Node and browsers.
Stars: ✭ 903 (+377.78%)
Mutual labels:  api, api-client, api-wrapper
Binance
A .NET Standard Binance API library.
Stars: ✭ 199 (+5.29%)
Mutual labels:  api, api-client, api-wrapper
Coingecko Api
A Node.js wrapper for the CoinGecko API with no dependencies.
Stars: ✭ 159 (-15.87%)
Mutual labels:  api, api-client, api-wrapper
Pizzly
The simplest, fastest way to integrate your app with an OAuth API 😋
Stars: ✭ 796 (+321.16%)
Mutual labels:  api, api-client, api-wrapper
Apipie
Transform api declaration to js object for frontend. Inspired by VueRouter, koa-middleware and axios.
Stars: ✭ 29 (-84.66%)
Mutual labels:  api, api-client, api-wrapper
Mlb Statsapi
Python wrapper for MLB Stats API
Stars: ✭ 135 (-28.57%)
Mutual labels:  api, api-wrapper
Rcrossref
R client for various CrossRef APIs
Stars: ✭ 137 (-27.51%)
Mutual labels:  api, api-wrapper
Virustotalnet
A full implementation of the VirusTotal 2.0 API
Stars: ✭ 142 (-24.87%)
Mutual labels:  api-client, virustotal
Jda
Java wrapper for the popular chat & VOIP service: Discord https://discord.com
Stars: ✭ 2,598 (+1274.6%)
Mutual labels:  api, api-wrapper
Bittrex.net
A C# .Net wrapper for the Bittrex web API including all features easily accessible and usable
Stars: ✭ 131 (-30.69%)
Mutual labels:  api, api-wrapper
Sdk Js
Directus JS SDK — JavaScript Software Development Kit for Node and Browser
Stars: ✭ 117 (-38.1%)
Mutual labels:  api, api-client
Thehive4py
Python API Client for TheHive
Stars: ✭ 143 (-24.34%)
Mutual labels:  api, api-client
Mobx Rest
REST conventions for Mobx
Stars: ✭ 164 (-13.23%)
Mutual labels:  api, api-client
Laravel Api Explorer
API explorer for laravel applications
Stars: ✭ 138 (-26.98%)
Mutual labels:  api, api-client
Tik4net
Manage mikrotik routers with .NET C# code via ADO.NET like API or enjoy O/R mapper like highlevel api.
Stars: ✭ 118 (-37.57%)
Mutual labels:  api, api-client
Mega.py
Python library for the https://mega.nz/ API.
Stars: ✭ 145 (-23.28%)
Mutual labels:  api-client, api-wrapper
Js Client
A Open-API derived JS + Node.js API client for Netlify
Stars: ✭ 170 (-10.05%)
Mutual labels:  api, api-client
Dnsimple Ruby
The DNSimple API client for Ruby.
Stars: ✭ 173 (-8.47%)
Mutual labels:  api, api-client

.. image:: https://raw.githubusercontent.com/blacktop/virustotal-api/master/doc/logo.png

virustotal-api

.. image:: https://travis-ci.org/blacktop/virustotal-api.svg?branch=master :target: https://travis-ci.org/blacktop/virustotal-api

.. image:: http://img.shields.io/:license-mit-blue.svg :target: http://doge.mit-license.org

.. image:: https://img.shields.io/pypi/v/virustotal-api.svg :target: https://pypi.python.org/pypi/virustotal-api/

.. image:: https://img.shields.io/pypi/pyversions/virustotal-api.svg :target: https://pypi.python.org/pypi/virustotal-api/

Virus Total Public/Private/Intel API

Installation

.. code-block:: bash

$ pip install virustotal-api

Usage

.. code-block:: python

from __future__ import print_function
import json
import hashlib
from virus_total_apis import PublicApi as VirusTotalPublicApi

API_KEY = 'Sign-Up for API Key at virustotal.com'

EICAR = "X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*".encode('utf-8')
EICAR_MD5 = hashlib.md5(EICAR).hexdigest()

vt = VirusTotalPublicApi(API_KEY)

response = vt.get_file_report(EICAR_MD5)
print(json.dumps(response, sort_keys=False, indent=4))

Output:

.. code-block:: json

{
    "response_code": 200,
    "results": {
        "scan_id": "275a021bbfb6489e54d471899f7db9d1663fc695ec2fe2a2c4538aabf651fd0f-1397510237",
        "sha1": "3395856ce81f2b7382dee72602f798b642f14140",
        "resource": "44d88612fea8a8f36de82e1278abb02f",
        "response_code": 1,
        "scan_date": "2014-04-14 21:17:17",
        "permalink": "https://www.virustotal.com/file/275a021bbfb6489e54d471899f7db9d1663fc695ec2fe2a2c4538aabf651fd0f/analysis/1397510237/",
        "verbose_msg": "Scan finished, scan information embedded in this object",
        "sha256": "275a021bbfb6489e54d471899f7db9d1663fc695ec2fe2a2c4538aabf651fd0f",
        "positives": 49,
        "total": 51,
        "md5": "44d88612fea8a8f36de82e1278abb02f",
        "scans": {
            "Bkav": {
                "detected": true,
                "version": "1.3.0.4959",
                "result": "DOS.EiracA.Trojan",
                "update": "20140412"
            },
            "MicroWorld-eScan": {
                "detected": true,
                "version": "12.0.250.0",
                "result": "EICAR-Test-File",
                "update": "20140414"
            },
            "nProtect": {
                "detected": true,
                "version": "2014-04-14.02",
                "result": "EICAR-Test-File",
                "update": "20140414"
            },
            ...<snip>...
            "AVG": {
                "detected": true,
                "version": "13.0.0.3169",
                "result": "EICAR_Test",
                "update": "20140414"
            },
            "Panda": {
                "detected": true,
                "version": "10.0.3.5",
                "result": "EICAR-AV-TEST-FILE",
                "update": "20140414"
            },
            "Qihoo-360": {
                "detected": true,
                "version": "1.0.0.1015",
                "result": "Trojan.Generic",
                "update": "20140414"
            }
        }
    }
}

Testing

To run the tests:

.. code-block:: bash

$ ./tests

Documentation

You're looking at it.

Issues

Find a bug? Want more features? Find something missing in the documentation? Let me know! Please don't hesitate to file an issue <https://github.com/blacktop/virustotal-api/issues/new>_ and I'll get right on it.

Contributing

See all contributors on GitHub <https://github.com/blacktop/virustotal-api/graphs/contributors>_.

Please update the HISTORY.rst <https://github.com/blacktop/virustotal-api/blob/master/HISTORY.rst>, and submit a Pull Request on GitHub <https://help.github.com/articles/using-pull-requests/>.

License

MIT Copyright (c) 2014-2019 blacktop

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].