virustotal
virustotal copied to clipboard
Error setting my API key
Hi,
I see the error below when executing the second command to set my API key. Do you know how I can get past this error please?
Python 2.7.12 |Anaconda 4.2.0 (64-bit)| (default, Jun 29 2016, 11:07:13) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://anaconda.org
>>> import virustotal
>>> v = virustotal.VirusTotal(MY_API_KEY)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'MY_API_KEY' is not defined
>>>
Thanks for your help
@raveydaveygravy You haven't defined a variable called MY_API_KEY
( MY_API_KEY=""
), it would be wise to learn the basics before you start using public libraries
Don't worry about it, I found something else to use ;)
On Mar 10, 2017, at 7:43 AM, Luke Paris [email protected] wrote:
@raveydaveygravy You haven't defined a variable called MY_API_KEY ( MY_API_KEY="" ), it would be wise to learn the basics before you start using public libraries
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Do you think your reply constitutes the sharing of wisdom?
On Mar 10, 2017, at 7:43 AM, Luke Paris [email protected] wrote:
@raveydaveygravy You haven't defined a variable called MY_API_KEY ( MY_API_KEY="" ), it would be wise to learn the basics before you start using public libraries
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
@raveydaveygravy just trying to help resolve the issue, you seemed to not get past the undefined variable part so I offered a few words to help you get past it :)
Cool. Thanks for getting back to me
On Mar 10, 2017, at 1:52 PM, Luke Paris [email protected] wrote:
@raveydaveygravy just trying to help resolve the issue, you seemed to not get past the undefined variable part so I offered a few words to help you get past it :)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.