file hashing, and virustotal api

the problem I am running into here is making the request out with bro.?

I think you are looking for this?
https://github.com/sooshie/bro-scripts/blob/master/2.2-scripts/vt_check.bro

code returns the number of hits