16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.WebBrowser.VirusTotal.VirusTotalApi</h1> |
23 <h1>eric6.WebBrowser.VirusTotal.VirusTotalApi</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing the <a href="http://www.virustotal.com">VirusTotal</a> |
26 Module implementing the <a href="http://www.virustotal.com">VirusTotal</a> |
25 API class. |
27 API class. |
26 </p> |
28 </p> |
27 <h3>Global Attributes</h3> |
29 <h3>Global Attributes</h3> |
|
30 |
28 <table> |
31 <table> |
29 <tr><td>None</td></tr> |
32 <tr><td>None</td></tr> |
30 </table> |
33 </table> |
31 <h3>Classes</h3> |
34 <h3>Classes</h3> |
32 <table> |
35 |
|
36 <table> |
|
37 |
33 <tr> |
38 <tr> |
34 <td><a href="#VirusTotalAPI">VirusTotalAPI</a></td> |
39 <td><a href="#VirusTotalAPI">VirusTotalAPI</a></td> |
35 <td>Class implementing the <a href="http://www.virustotal.com">VirusTotal</a> API.</td> |
40 <td>Class implementing the <a href="http://www.virustotal.com">VirusTotal</a> API.</td> |
36 </tr> |
41 </tr> |
37 </table> |
42 </table> |
38 <h3>Functions</h3> |
43 <h3>Functions</h3> |
|
44 |
39 <table> |
45 <table> |
40 <tr><td>None</td></tr> |
46 <tr><td>None</td></tr> |
41 </table> |
47 </table> |
42 <hr /><hr /> |
48 <hr /> |
|
49 <hr /> |
43 <a NAME="VirusTotalAPI" ID="VirusTotalAPI"></a> |
50 <a NAME="VirusTotalAPI" ID="VirusTotalAPI"></a> |
44 <h2>VirusTotalAPI</h2> |
51 <h2>VirusTotalAPI</h2> |
|
52 |
45 <p> |
53 <p> |
46 Class implementing the <a href="http://www.virustotal.com">VirusTotal</a> |
54 Class implementing the <a href="http://www.virustotal.com">VirusTotal</a> |
47 API. |
55 API. |
48 </p><h3>Signals</h3> |
56 </p> |
49 <dl> |
57 <h3>Signals</h3> |
|
58 <dl> |
|
59 |
50 <dt>checkServiceKeyFinished(bool, str)</dt> |
60 <dt>checkServiceKeyFinished(bool, str)</dt> |
51 <dd> |
61 <dd> |
52 emitted after the service key |
62 emitted after the service key |
53 check has been performed. It gives a flag indicating validity |
63 check has been performed. It gives a flag indicating validity |
54 (boolean) and an error message in case of a network error (string). |
64 (boolean) and an error message in case of a network error (string). |
55 </dd><dt>fileScanReport(str)</dt> |
65 </dd> |
|
66 <dt>fileScanReport(str)</dt> |
56 <dd> |
67 <dd> |
57 emitted with the URL of the file scan report |
68 emitted with the URL of the file scan report |
58 page |
69 page |
59 </dd><dt>submitUrlError(str)</dt> |
70 </dd> |
|
71 <dt>submitUrlError(str)</dt> |
60 <dd> |
72 <dd> |
61 emitted with the error string, if the URL scan |
73 emitted with the error string, if the URL scan |
62 submission returned an error. |
74 submission returned an error. |
63 </dd><dt>urlScanReport(str)</dt> |
75 </dd> |
|
76 <dt>urlScanReport(str)</dt> |
64 <dd> |
77 <dd> |
65 emitted with the URL of the URL scan report page |
78 emitted with the URL of the URL scan report page |
66 </dd> |
79 </dd> |
67 </dl> |
80 </dl> |
68 <h3>Derived from</h3> |
81 <h3>Derived from</h3> |
69 QObject |
82 QObject |
70 <h3>Class Attributes</h3> |
83 <h3>Class Attributes</h3> |
|
84 |
71 <table> |
85 <table> |
72 <tr><td>GetDomainReportPattern</td></tr><tr><td>GetFileReportPattern</td></tr><tr><td>GetIpAddressReportPattern</td></tr><tr><td>GetUrlReportPattern</td></tr><tr><td>ScanUrlPattern</td></tr><tr><td>ServiceCode_InvalidKey</td></tr><tr><td>ServiceCode_InvalidPrivilege</td></tr><tr><td>ServiceCode_RateLimitExceeded</td></tr><tr><td>ServiceResult_ItemNotPresent</td></tr><tr><td>ServiceResult_ItemPresent</td></tr><tr><td>ServiceResult_ItemQueued</td></tr><tr><td>TestServiceKeyScanID</td></tr> |
86 <tr><td>GetDomainReportPattern</td></tr><tr><td>GetFileReportPattern</td></tr><tr><td>GetIpAddressReportPattern</td></tr><tr><td>GetUrlReportPattern</td></tr><tr><td>ScanUrlPattern</td></tr><tr><td>ServiceCode_InvalidKey</td></tr><tr><td>ServiceCode_InvalidPrivilege</td></tr><tr><td>ServiceCode_RateLimitExceeded</td></tr><tr><td>ServiceResult_ItemNotPresent</td></tr><tr><td>ServiceResult_ItemPresent</td></tr><tr><td>ServiceResult_ItemQueued</td></tr><tr><td>TestServiceKeyScanID</td></tr> |
73 </table> |
87 </table> |
74 <h3>Class Methods</h3> |
88 <h3>Class Methods</h3> |
|
89 |
75 <table> |
90 <table> |
76 <tr><td>None</td></tr> |
91 <tr><td>None</td></tr> |
77 </table> |
92 </table> |
78 <h3>Methods</h3> |
93 <h3>Methods</h3> |
79 <table> |
94 |
|
95 <table> |
|
96 |
80 <tr> |
97 <tr> |
81 <td><a href="#VirusTotalAPI.__init__">VirusTotalAPI</a></td> |
98 <td><a href="#VirusTotalAPI.__init__">VirusTotalAPI</a></td> |
82 <td>Constructor</td> |
99 <td>Constructor</td> |
83 </tr><tr> |
100 </tr> |
|
101 <tr> |
84 <td><a href="#VirusTotalAPI.__checkServiceKeyValidityFinished">__checkServiceKeyValidityFinished</a></td> |
102 <td><a href="#VirusTotalAPI.__checkServiceKeyValidityFinished">__checkServiceKeyValidityFinished</a></td> |
85 <td>Private slot to determine the result of the service key validity check.</td> |
103 <td>Private slot to determine the result of the service key validity check.</td> |
86 </tr><tr> |
104 </tr> |
|
105 <tr> |
87 <td><a href="#VirusTotalAPI.__getDomainReportFinished">__getDomainReportFinished</a></td> |
106 <td><a href="#VirusTotalAPI.__getDomainReportFinished">__getDomainReportFinished</a></td> |
88 <td>Private slot to process the IP address report data.</td> |
107 <td>Private slot to process the IP address report data.</td> |
89 </tr><tr> |
108 </tr> |
|
109 <tr> |
90 <td><a href="#VirusTotalAPI.__getFileScanReportUrl">__getFileScanReportUrl</a></td> |
110 <td><a href="#VirusTotalAPI.__getFileScanReportUrl">__getFileScanReportUrl</a></td> |
91 <td>Private method to get the report URL for a file scan.</td> |
111 <td>Private method to get the report URL for a file scan.</td> |
92 </tr><tr> |
112 </tr> |
|
113 <tr> |
93 <td><a href="#VirusTotalAPI.__getFileScanReportUrlFinished">__getFileScanReportUrlFinished</a></td> |
114 <td><a href="#VirusTotalAPI.__getFileScanReportUrlFinished">__getFileScanReportUrlFinished</a></td> |
94 <td>Private slot to determine the result of the file scan report URL request.</td> |
115 <td>Private slot to determine the result of the file scan report URL request.</td> |
95 </tr><tr> |
116 </tr> |
|
117 <tr> |
96 <td><a href="#VirusTotalAPI.__getIpAddressReportFinished">__getIpAddressReportFinished</a></td> |
118 <td><a href="#VirusTotalAPI.__getIpAddressReportFinished">__getIpAddressReportFinished</a></td> |
97 <td>Private slot to process the IP address report data.</td> |
119 <td>Private slot to process the IP address report data.</td> |
98 </tr><tr> |
120 </tr> |
|
121 <tr> |
99 <td><a href="#VirusTotalAPI.__getUrlScanReportUrl">__getUrlScanReportUrl</a></td> |
122 <td><a href="#VirusTotalAPI.__getUrlScanReportUrl">__getUrlScanReportUrl</a></td> |
100 <td>Private method to get the report URL for a URL scan.</td> |
123 <td>Private method to get the report URL for a URL scan.</td> |
101 </tr><tr> |
124 </tr> |
|
125 <tr> |
102 <td><a href="#VirusTotalAPI.__getUrlScanReportUrlFinished">__getUrlScanReportUrlFinished</a></td> |
126 <td><a href="#VirusTotalAPI.__getUrlScanReportUrlFinished">__getUrlScanReportUrlFinished</a></td> |
103 <td>Private slot to determine the result of the URL scan report URL.</td> |
127 <td>Private slot to determine the result of the URL scan report URL.</td> |
104 </tr><tr> |
128 </tr> |
|
129 <tr> |
105 <td><a href="#VirusTotalAPI.__loadSettings">__loadSettings</a></td> |
130 <td><a href="#VirusTotalAPI.__loadSettings">__loadSettings</a></td> |
106 <td>Private method to load the settings.</td> |
131 <td>Private method to load the settings.</td> |
107 </tr><tr> |
132 </tr> |
|
133 <tr> |
108 <td><a href="#VirusTotalAPI.__submitUrlFinished">__submitUrlFinished</a></td> |
134 <td><a href="#VirusTotalAPI.__submitUrlFinished">__submitUrlFinished</a></td> |
109 <td>Private slot to determine the result of the URL scan submission.</td> |
135 <td>Private slot to determine the result of the URL scan submission.</td> |
110 </tr><tr> |
136 </tr> |
|
137 <tr> |
111 <td><a href="#VirusTotalAPI.checkServiceKeyValidity">checkServiceKeyValidity</a></td> |
138 <td><a href="#VirusTotalAPI.checkServiceKeyValidity">checkServiceKeyValidity</a></td> |
112 <td>Public method to check the validity of the given service key.</td> |
139 <td>Public method to check the validity of the given service key.</td> |
113 </tr><tr> |
140 </tr> |
|
141 <tr> |
114 <td><a href="#VirusTotalAPI.close">close</a></td> |
142 <td><a href="#VirusTotalAPI.close">close</a></td> |
115 <td>Public slot to close the API.</td> |
143 <td>Public slot to close the API.</td> |
116 </tr><tr> |
144 </tr> |
|
145 <tr> |
117 <td><a href="#VirusTotalAPI.getDomainReport">getDomainReport</a></td> |
146 <td><a href="#VirusTotalAPI.getDomainReport">getDomainReport</a></td> |
118 <td>Public method to retrieve a report for a domain.</td> |
147 <td>Public method to retrieve a report for a domain.</td> |
119 </tr><tr> |
148 </tr> |
|
149 <tr> |
120 <td><a href="#VirusTotalAPI.getIpAddressReport">getIpAddressReport</a></td> |
150 <td><a href="#VirusTotalAPI.getIpAddressReport">getIpAddressReport</a></td> |
121 <td>Public method to retrieve a report for an IP address.</td> |
151 <td>Public method to retrieve a report for an IP address.</td> |
122 </tr><tr> |
152 </tr> |
|
153 <tr> |
123 <td><a href="#VirusTotalAPI.preferencesChanged">preferencesChanged</a></td> |
154 <td><a href="#VirusTotalAPI.preferencesChanged">preferencesChanged</a></td> |
124 <td>Public slot to handle a change of preferences.</td> |
155 <td>Public slot to handle a change of preferences.</td> |
125 </tr><tr> |
156 </tr> |
|
157 <tr> |
126 <td><a href="#VirusTotalAPI.submitUrl">submitUrl</a></td> |
158 <td><a href="#VirusTotalAPI.submitUrl">submitUrl</a></td> |
127 <td>Public method to submit an URL to be scanned.</td> |
159 <td>Public method to submit an URL to be scanned.</td> |
128 </tr> |
160 </tr> |
129 </table> |
161 </table> |
130 <h3>Static Methods</h3> |
162 <h3>Static Methods</h3> |
|
163 |
131 <table> |
164 <table> |
132 <tr><td>None</td></tr> |
165 <tr><td>None</td></tr> |
133 </table> |
166 </table> |
|
167 |
134 <a NAME="VirusTotalAPI.__init__" ID="VirusTotalAPI.__init__"></a> |
168 <a NAME="VirusTotalAPI.__init__" ID="VirusTotalAPI.__init__"></a> |
135 <h4>VirusTotalAPI (Constructor)</h4> |
169 <h4>VirusTotalAPI (Constructor)</h4> |
136 <b>VirusTotalAPI</b>(<i>parent=None</i>) |
170 <b>VirusTotalAPI</b>(<i>parent=None</i>) |
|
171 |
137 <p> |
172 <p> |
138 Constructor |
173 Constructor |
139 </p><dl> |
174 </p> |
|
175 <dl> |
|
176 |
140 <dt><i>parent</i></dt> |
177 <dt><i>parent</i></dt> |
141 <dd> |
178 <dd> |
142 reference to the parent object (QObject) |
179 reference to the parent object (QObject) |
143 </dd> |
180 </dd> |
144 </dl><a NAME="VirusTotalAPI.__checkServiceKeyValidityFinished" ID="VirusTotalAPI.__checkServiceKeyValidityFinished"></a> |
181 </dl> |
|
182 <a NAME="VirusTotalAPI.__checkServiceKeyValidityFinished" ID="VirusTotalAPI.__checkServiceKeyValidityFinished"></a> |
145 <h4>VirusTotalAPI.__checkServiceKeyValidityFinished</h4> |
183 <h4>VirusTotalAPI.__checkServiceKeyValidityFinished</h4> |
146 <b>__checkServiceKeyValidityFinished</b>(<i>reply</i>) |
184 <b>__checkServiceKeyValidityFinished</b>(<i>reply</i>) |
|
185 |
147 <p> |
186 <p> |
148 Private slot to determine the result of the service key validity check. |
187 Private slot to determine the result of the service key validity check. |
149 </p><dl> |
188 </p> |
150 <dt><i>reply</i> (QNetworkReply)</dt> |
189 <dl> |
151 <dd> |
190 |
152 reference to the network reply |
191 <dt><i>reply</i> (QNetworkReply)</dt> |
153 </dd> |
192 <dd> |
154 </dl><a NAME="VirusTotalAPI.__getDomainReportFinished" ID="VirusTotalAPI.__getDomainReportFinished"></a> |
193 reference to the network reply |
|
194 </dd> |
|
195 </dl> |
|
196 <a NAME="VirusTotalAPI.__getDomainReportFinished" ID="VirusTotalAPI.__getDomainReportFinished"></a> |
155 <h4>VirusTotalAPI.__getDomainReportFinished</h4> |
197 <h4>VirusTotalAPI.__getDomainReportFinished</h4> |
156 <b>__getDomainReportFinished</b>(<i>reply</i>) |
198 <b>__getDomainReportFinished</b>(<i>reply</i>) |
|
199 |
157 <p> |
200 <p> |
158 Private slot to process the IP address report data. |
201 Private slot to process the IP address report data. |
159 </p><dl> |
202 </p> |
160 <dt><i>reply</i> (QNetworkReply)</dt> |
203 <dl> |
161 <dd> |
204 |
162 reference to the network reply |
205 <dt><i>reply</i> (QNetworkReply)</dt> |
163 </dd> |
206 <dd> |
164 </dl><a NAME="VirusTotalAPI.__getFileScanReportUrl" ID="VirusTotalAPI.__getFileScanReportUrl"></a> |
207 reference to the network reply |
|
208 </dd> |
|
209 </dl> |
|
210 <a NAME="VirusTotalAPI.__getFileScanReportUrl" ID="VirusTotalAPI.__getFileScanReportUrl"></a> |
165 <h4>VirusTotalAPI.__getFileScanReportUrl</h4> |
211 <h4>VirusTotalAPI.__getFileScanReportUrl</h4> |
166 <b>__getFileScanReportUrl</b>(<i>scanId</i>) |
212 <b>__getFileScanReportUrl</b>(<i>scanId</i>) |
|
213 |
167 <p> |
214 <p> |
168 Private method to get the report URL for a file scan. |
215 Private method to get the report URL for a file scan. |
169 </p><dl> |
216 </p> |
|
217 <dl> |
|
218 |
170 <dt><i>scanId</i></dt> |
219 <dt><i>scanId</i></dt> |
171 <dd> |
220 <dd> |
172 ID of the scan to get the report URL for (string) |
221 ID of the scan to get the report URL for (string) |
173 </dd> |
222 </dd> |
174 </dl><a NAME="VirusTotalAPI.__getFileScanReportUrlFinished" ID="VirusTotalAPI.__getFileScanReportUrlFinished"></a> |
223 </dl> |
|
224 <a NAME="VirusTotalAPI.__getFileScanReportUrlFinished" ID="VirusTotalAPI.__getFileScanReportUrlFinished"></a> |
175 <h4>VirusTotalAPI.__getFileScanReportUrlFinished</h4> |
225 <h4>VirusTotalAPI.__getFileScanReportUrlFinished</h4> |
176 <b>__getFileScanReportUrlFinished</b>(<i>reply</i>) |
226 <b>__getFileScanReportUrlFinished</b>(<i>reply</i>) |
|
227 |
177 <p> |
228 <p> |
178 Private slot to determine the result of the file scan report URL |
229 Private slot to determine the result of the file scan report URL |
179 request. |
230 request. |
180 </p><dl> |
231 </p> |
181 <dt><i>reply</i> (QNetworkReply)</dt> |
232 <dl> |
182 <dd> |
233 |
183 reference to the network reply |
234 <dt><i>reply</i> (QNetworkReply)</dt> |
184 </dd> |
235 <dd> |
185 </dl><a NAME="VirusTotalAPI.__getIpAddressReportFinished" ID="VirusTotalAPI.__getIpAddressReportFinished"></a> |
236 reference to the network reply |
|
237 </dd> |
|
238 </dl> |
|
239 <a NAME="VirusTotalAPI.__getIpAddressReportFinished" ID="VirusTotalAPI.__getIpAddressReportFinished"></a> |
186 <h4>VirusTotalAPI.__getIpAddressReportFinished</h4> |
240 <h4>VirusTotalAPI.__getIpAddressReportFinished</h4> |
187 <b>__getIpAddressReportFinished</b>(<i>reply</i>) |
241 <b>__getIpAddressReportFinished</b>(<i>reply</i>) |
|
242 |
188 <p> |
243 <p> |
189 Private slot to process the IP address report data. |
244 Private slot to process the IP address report data. |
190 </p><dl> |
245 </p> |
191 <dt><i>reply</i> (QNetworkReply)</dt> |
246 <dl> |
192 <dd> |
247 |
193 reference to the network reply |
248 <dt><i>reply</i> (QNetworkReply)</dt> |
194 </dd> |
249 <dd> |
195 </dl><a NAME="VirusTotalAPI.__getUrlScanReportUrl" ID="VirusTotalAPI.__getUrlScanReportUrl"></a> |
250 reference to the network reply |
|
251 </dd> |
|
252 </dl> |
|
253 <a NAME="VirusTotalAPI.__getUrlScanReportUrl" ID="VirusTotalAPI.__getUrlScanReportUrl"></a> |
196 <h4>VirusTotalAPI.__getUrlScanReportUrl</h4> |
254 <h4>VirusTotalAPI.__getUrlScanReportUrl</h4> |
197 <b>__getUrlScanReportUrl</b>(<i>scanId</i>) |
255 <b>__getUrlScanReportUrl</b>(<i>scanId</i>) |
|
256 |
198 <p> |
257 <p> |
199 Private method to get the report URL for a URL scan. |
258 Private method to get the report URL for a URL scan. |
200 </p><dl> |
259 </p> |
|
260 <dl> |
|
261 |
201 <dt><i>scanId</i></dt> |
262 <dt><i>scanId</i></dt> |
202 <dd> |
263 <dd> |
203 ID of the scan to get the report URL for (string) |
264 ID of the scan to get the report URL for (string) |
204 </dd> |
265 </dd> |
205 </dl><a NAME="VirusTotalAPI.__getUrlScanReportUrlFinished" ID="VirusTotalAPI.__getUrlScanReportUrlFinished"></a> |
266 </dl> |
|
267 <a NAME="VirusTotalAPI.__getUrlScanReportUrlFinished" ID="VirusTotalAPI.__getUrlScanReportUrlFinished"></a> |
206 <h4>VirusTotalAPI.__getUrlScanReportUrlFinished</h4> |
268 <h4>VirusTotalAPI.__getUrlScanReportUrlFinished</h4> |
207 <b>__getUrlScanReportUrlFinished</b>(<i>reply</i>) |
269 <b>__getUrlScanReportUrlFinished</b>(<i>reply</i>) |
|
270 |
208 <p> |
271 <p> |
209 Private slot to determine the result of the URL scan report URL. |
272 Private slot to determine the result of the URL scan report URL. |
210 </p><dl> |
273 </p> |
|
274 <dl> |
|
275 |
211 <dt><i>reply</i> (QNetworkReply)</dt> |
276 <dt><i>reply</i> (QNetworkReply)</dt> |
212 <dd> |
277 <dd> |
213 reference to the network reply |
278 reference to the network reply |
214 request. |
279 request. |
215 </dd> |
280 </dd> |
216 </dl><a NAME="VirusTotalAPI.__loadSettings" ID="VirusTotalAPI.__loadSettings"></a> |
281 </dl> |
|
282 <a NAME="VirusTotalAPI.__loadSettings" ID="VirusTotalAPI.__loadSettings"></a> |
217 <h4>VirusTotalAPI.__loadSettings</h4> |
283 <h4>VirusTotalAPI.__loadSettings</h4> |
218 <b>__loadSettings</b>(<i></i>) |
284 <b>__loadSettings</b>(<i></i>) |
|
285 |
219 <p> |
286 <p> |
220 Private method to load the settings. |
287 Private method to load the settings. |
221 </p><a NAME="VirusTotalAPI.__submitUrlFinished" ID="VirusTotalAPI.__submitUrlFinished"></a> |
288 </p> |
|
289 <a NAME="VirusTotalAPI.__submitUrlFinished" ID="VirusTotalAPI.__submitUrlFinished"></a> |
222 <h4>VirusTotalAPI.__submitUrlFinished</h4> |
290 <h4>VirusTotalAPI.__submitUrlFinished</h4> |
223 <b>__submitUrlFinished</b>(<i>reply</i>) |
291 <b>__submitUrlFinished</b>(<i>reply</i>) |
|
292 |
224 <p> |
293 <p> |
225 Private slot to determine the result of the URL scan submission. |
294 Private slot to determine the result of the URL scan submission. |
226 </p><dl> |
295 </p> |
227 <dt><i>reply</i> (QNetworkReply)</dt> |
296 <dl> |
228 <dd> |
297 |
229 reference to the network reply |
298 <dt><i>reply</i> (QNetworkReply)</dt> |
230 </dd> |
299 <dd> |
231 </dl><a NAME="VirusTotalAPI.checkServiceKeyValidity" ID="VirusTotalAPI.checkServiceKeyValidity"></a> |
300 reference to the network reply |
|
301 </dd> |
|
302 </dl> |
|
303 <a NAME="VirusTotalAPI.checkServiceKeyValidity" ID="VirusTotalAPI.checkServiceKeyValidity"></a> |
232 <h4>VirusTotalAPI.checkServiceKeyValidity</h4> |
304 <h4>VirusTotalAPI.checkServiceKeyValidity</h4> |
233 <b>checkServiceKeyValidity</b>(<i>key, protocol=""</i>) |
305 <b>checkServiceKeyValidity</b>(<i>key, protocol=""</i>) |
|
306 |
234 <p> |
307 <p> |
235 Public method to check the validity of the given service key. |
308 Public method to check the validity of the given service key. |
236 </p><dl> |
309 </p> |
|
310 <dl> |
|
311 |
237 <dt><i>key</i></dt> |
312 <dt><i>key</i></dt> |
238 <dd> |
313 <dd> |
239 service key (string) |
314 service key (string) |
240 </dd><dt><i>protocol</i></dt> |
315 </dd> |
|
316 <dt><i>protocol</i></dt> |
241 <dd> |
317 <dd> |
242 protocol used to access VirusTotal (string) |
318 protocol used to access VirusTotal (string) |
243 </dd> |
319 </dd> |
244 </dl><a NAME="VirusTotalAPI.close" ID="VirusTotalAPI.close"></a> |
320 </dl> |
|
321 <a NAME="VirusTotalAPI.close" ID="VirusTotalAPI.close"></a> |
245 <h4>VirusTotalAPI.close</h4> |
322 <h4>VirusTotalAPI.close</h4> |
246 <b>close</b>(<i></i>) |
323 <b>close</b>(<i></i>) |
|
324 |
247 <p> |
325 <p> |
248 Public slot to close the API. |
326 Public slot to close the API. |
249 </p><a NAME="VirusTotalAPI.getDomainReport" ID="VirusTotalAPI.getDomainReport"></a> |
327 </p> |
|
328 <a NAME="VirusTotalAPI.getDomainReport" ID="VirusTotalAPI.getDomainReport"></a> |
250 <h4>VirusTotalAPI.getDomainReport</h4> |
329 <h4>VirusTotalAPI.getDomainReport</h4> |
251 <b>getDomainReport</b>(<i>domain</i>) |
330 <b>getDomainReport</b>(<i>domain</i>) |
|
331 |
252 <p> |
332 <p> |
253 Public method to retrieve a report for a domain. |
333 Public method to retrieve a report for a domain. |
254 </p><dl> |
334 </p> |
|
335 <dl> |
|
336 |
255 <dt><i>domain</i> (str)</dt> |
337 <dt><i>domain</i> (str)</dt> |
256 <dd> |
338 <dd> |
257 domain name |
339 domain name |
258 </dd> |
340 </dd> |
259 </dl><a NAME="VirusTotalAPI.getIpAddressReport" ID="VirusTotalAPI.getIpAddressReport"></a> |
341 </dl> |
|
342 <a NAME="VirusTotalAPI.getIpAddressReport" ID="VirusTotalAPI.getIpAddressReport"></a> |
260 <h4>VirusTotalAPI.getIpAddressReport</h4> |
343 <h4>VirusTotalAPI.getIpAddressReport</h4> |
261 <b>getIpAddressReport</b>(<i>ipAddress</i>) |
344 <b>getIpAddressReport</b>(<i>ipAddress</i>) |
|
345 |
262 <p> |
346 <p> |
263 Public method to retrieve a report for an IP address. |
347 Public method to retrieve a report for an IP address. |
264 </p><dl> |
348 </p> |
|
349 <dl> |
|
350 |
265 <dt><i>ipAddress</i> (str)</dt> |
351 <dt><i>ipAddress</i> (str)</dt> |
266 <dd> |
352 <dd> |
267 valid IPv4 address in dotted quad notation |
353 valid IPv4 address in dotted quad notation |
268 </dd> |
354 </dd> |
269 </dl><a NAME="VirusTotalAPI.preferencesChanged" ID="VirusTotalAPI.preferencesChanged"></a> |
355 </dl> |
|
356 <a NAME="VirusTotalAPI.preferencesChanged" ID="VirusTotalAPI.preferencesChanged"></a> |
270 <h4>VirusTotalAPI.preferencesChanged</h4> |
357 <h4>VirusTotalAPI.preferencesChanged</h4> |
271 <b>preferencesChanged</b>(<i></i>) |
358 <b>preferencesChanged</b>(<i></i>) |
|
359 |
272 <p> |
360 <p> |
273 Public slot to handle a change of preferences. |
361 Public slot to handle a change of preferences. |
274 </p><a NAME="VirusTotalAPI.submitUrl" ID="VirusTotalAPI.submitUrl"></a> |
362 </p> |
|
363 <a NAME="VirusTotalAPI.submitUrl" ID="VirusTotalAPI.submitUrl"></a> |
275 <h4>VirusTotalAPI.submitUrl</h4> |
364 <h4>VirusTotalAPI.submitUrl</h4> |
276 <b>submitUrl</b>(<i>url</i>) |
365 <b>submitUrl</b>(<i>url</i>) |
|
366 |
277 <p> |
367 <p> |
278 Public method to submit an URL to be scanned. |
368 Public method to submit an URL to be scanned. |
279 </p><dl> |
369 </p> |
|
370 <dl> |
|
371 |
280 <dt><i>url</i></dt> |
372 <dt><i>url</i></dt> |
281 <dd> |
373 <dd> |
282 url to be scanned (QUrl) |
374 url to be scanned (QUrl) |
283 </dd> |
375 </dd> |
284 </dl> |
376 </dl> |