To try this on your own, you can use the code snippet below that is used in this demonstration.
from hs_restclient import HydroShare, HydroShareAuthBasic
auth = HydroShareAuthBasic(username='myusername', password='mypassword')
hs = HydroShare(auth=auth)
options = {
"zip_with_rel_path": "/source/path/file.zip",
"remove_original_zip": True,
"overwrite": False
}
result = hs.resource('ID OF RESOURCE GOES HERE').functions.unzip(options)