Skip to content

Commit

Permalink
0.0.4 (#6)
Browse files Browse the repository at this point in the history
* Dependency updates.

* Fixed example, added changelogs.

* Bumped version

* Bumped version.
  • Loading branch information
Dextroz committed May 2, 2019
1 parent 645b06a commit 45b9380
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 10 deletions.
12 changes: 6 additions & 6 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ pprint(resp)
```python
# Example resp for url_scan().
# Assuming you have already initiated Virustotal() and imported pprint.
resp = vtotal.url_scan("ihaveaproblem.info") # Query a single url.
resp = vtotal.url_scan(["ihaveaproblem.info"]) # Query a single url.
pprint(resp)
{'json_resp': {'permalink': 'https://www.virustotal.com/url/fd21590d9df715452c8c000e1b5aa909c7c5ea434c2ddcad3f4ccfe9b0ee224e/analysis/1549973453/',
'resource': 'http://ihaveaproblem.info/',
Expand All @@ -119,6 +119,10 @@ pprint(resp)

## Changelog

* 0.0.4 - README.md updated; dependencies updated.

* 0.0.3 - Updated dependencies for urllib3 security vulnerability.

* 0.0.2 - Changes to file_rescan(), file_report(), url_scan(), url_report() to improve ease of use of the wrapper. See issue [#2](https://github.com/Dextroz/virustotal-python/issues/2). Examples updated for changes.

* 0.0.1 - Inital release of virustotal-python. Covered all endpoints of the Virustotal public API.
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ six==1.12.0
toml==0.10.0
tqdm==4.31.1
twine==1.13.0
urllib3==1.24.2
urllib3==1.24.3
webencodings==0.5.1
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name="virustotal-python",
version="0.0.3",
version="0.0.4",
author="Dextroz",
author_email="[email protected]",
description="A light wrapper around the public VirusTotal API.",
Expand Down
2 changes: 1 addition & 1 deletion virustotal_python/virustotal.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Virustotal(object):
def __init__(self, API_KEY=None):
self.API_KEY = API_KEY
self.BASEURL = "https://www.virustotal.com/vtapi/v2/"
self.VERSION = "0.0.3"
self.VERSION = "0.0.4"
self.headers = {
"Accept-Encoding": "gzip, deflate",
"User-Agent": f"gzip, virustotal-python {self.VERSION}",
Expand Down

0 comments on commit 45b9380

Please sign in to comment.