Box Developer Blog
Published in

Box Developer Blog

Zip Download support now available in all SDKs & CLI

Zip archives can now be downloaded using all our SDKs & CLI

In July we announced the general availability of the new Zip Download APIs. Today we’re happy to announce that support for Zip Downloads has arrived to all our server-side SDKs and CLI.

CLI

The command requires a name for the Zip file, and a list of one or more item values to add to the Zip, each with an item type (file or folder) and an item ID. For more details, please see the CLI documentation.

Java SDK

Calling this method will create a new zip file (with the specified file name) containing the specified items (files or folders) and download it to the stream that is passed in.

The object passed to the callback function is a status object that contains information about the download, including whether it was successful or not. For more details please check out the Node SDK documentation.

Python SDK

Calling this method will create a new zip file (with the specified file name) containing the specified items (files or folders) and download it to the file pointer that is passed in.

For more details please check out the Python SDK documentation.

Windows SDK

Calling this method will download a new zip file (with the specified file name) containing the specified items (files or folders).

For more details please check out the Windows SDK documentation.

The object passed to the callback function is a status object that contains information about the download, including whether it was successful or not. For more details please check out the Node SDK documentation.

Node SDK

Calling this method will create a new zip file (with the specified file name) containing the specified items (files or folders) and download it to the stream that is passed in.

The object passed to the callback function is a status object that contains information about the download, including whether it was successful or not. For more details please check out the Node SDK documentation.