download# str, destination_file: Optional[Union[str, pathlib.Path]] = None, verify: Optional[bool] = None, proxies: Optional[dict] = None, apiKey: Optional[str] = None, authentication: Optional[dict] = None, server_url: Optional[str] = None, api_session: Optional[ArgusAPISession] = None) bytes#

download a new sample file. (INTERNAL)

returns the content of the sample as bytes. If destination_path is set to a path, the sample will be written to the file at that location.

  • sha256 – sha256 of the sample

  • destination_file – if set, write the sample to the file at the path this points to.

  • verify – path to a certificate bundle or boolean indicating whether SSL verification should be performed.

  • apiKey – Argus API key.

  • authentication – authentication override

  • server_url – API base URL override

  • api_session – session to use for this request. If not set, the global session will be used.


content of the sample as bytes