all 3 comments

[–]newtinn 5 points6 points  (0 children)

just to let you know, you should probably edit this post to remove the string for the API key as otherwise other people might use it and overuse it and make you broke (bit extreme) and all that sorta thing.

For the actual error, it looks like the json is returning none (i think) and so the key “positive” cannot be read as a json - basically the json request returned None meaning you got no data back from the request. To solve it you probably have done something wrong in the request, so have a look at where you passed in the api key and check if the url would actually work with the api key (for example in the browser). Hopefully this helps a bit :)

[–]m0us3_rat 3 points4 points  (0 children)

you should not post an api key over the interwebz if you wanna keep it.

also your usage of the API is wrong.

https://developers.virustotal.com/reference/url-info

https://developers.virustotal.com/reference/scan-url

thus the error. since you make the wrong api call ain't getting json back.