We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c417afa commit aa67b7eCopy full SHA for aa67b7e
virustotal.py
@@ -56,7 +56,7 @@ def out(self, xformat):
56
self._output = "json"
57
58
# Sending and scanning files
59
- def filescan(self, file):
+ def scanfile(self, file):
60
url = self.api_url + "file/scan"
61
files = {'file': open(file, 'rb')}
62
headers = {"apikey": self.api_key}
@@ -80,7 +80,7 @@ def filescan(self, file):
80
print 'generic exception: ' + traceback.format_exc()
81
82
# Sending and scanning URLs
83
- def urlscan(self, link):
+ def scanurl(self, link):
84
url = self.api_url + "url/scan"
85
parameters = {"url": link, "apikey": self.api_key}
86
data = urllib.urlencode(parameters)
0 commit comments