Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am aag on github.
  • I am aag (https://keybase.io/aag) on keybase.
  • I have a public key ASDFJONQI0NNH7hVnIce7zgnh-TopjUZ-3aHtuMbNRD4qAo

To claim this, I am signing this object:

@aag
aag / download_attachment_to_file_documentation.md
Last active December 10, 2015 20:48
Documentation for the download_attachment_to_file() function that should be added to the Methods Reference page on the Shotgun API Wiki: https://github.com/shotgunsoftware/python-api/wiki/Reference%3A-Methods

download_attachment_to_file()

Description

None download_attachment_to_file(int entity_id, string file_path)

Saves the binary content of the specified attachment to the specified file path. If the file already exists, it will be overwritten. The script must have read and write permissions to the file path.

Parameters