Perl SDK

Perl SDK Module: ZoomServer

Name ZoomServer – Construct common Zoom operations without the low-level REST/Java/CLI syntax Dependencies Ensure the Perl SDK is setup. Synopsis use ZoomServer; my $cfg = $ZoomServer::cfg ; my $logger = $ZoomServer::logger; my ($files_aref, $authors_aref, $lastMod_aref) = ZoomServer::listPath(1,$d); Methods zoomImport Usage: zoomImport($srcDir, $bulkMetaFile) Will import everything under the srcDir including subdirs while applying bulk metadata CSV file if […]

Perl SDK Module: ZoomServer Read More »

Perl SDK Module: ZoomVantage

Name ZoomVantage – Helper methods to interact with Vantage Dependencies Ensure the Perl SDK is setup. Synopsis use ZoomVantage; my $jobId = ZoomVantage::submitFileToVantage($wfId, $in, $jobName, $outpathkey, $params_href); Methods getVantageWorkflowId Usage: getVantageWorkflowId($workflowName) Given a valid vantage workflow name, returns the corresponding workflow id my $workflowId = ZoomVantage::getVantageWorkflowId(‘Hires Ingest’); submitFileToVantage Usage: submitFileToVantage($wfId, $in, $jobName, $outpathkey, $params_href) Submits

Perl SDK Module: ZoomVantage Read More »

Perl SDK Module: ZoomMetadata

Name ZoomMetadata – Helper methods to parse zoom metadata specification Dependencies Ensure the Perl SDK is setup. Synopsis use ZoomMetadata; my $status = ZoomMetadata::loadXML(); Methods loadXML Usage: loadXML() Loads metadataspec.xml. Returns 1 on success and 0 on failure to load the xml find Usage: find($xpath) Given a xpath(XML Path) as input, returns a hash map

Perl SDK Module: ZoomMetadata Read More »

Perl SDK Module: AutoTask

Name AutoTask – Helper methods for zoom auto tasks  Dependencies Ensure the Perl SDK is setup. Synopsis use AutoTask; my $task_href= AutoTask::getArgs(@autoTaskArgs);  Methods getArgs Usage: getArgs(@autoTaskArgs) Returns a hash map of autotask args. Usage: my $task_href = AutoTask::getArgs(@autoTaskArgs); Autotask Args format:–taskId taskId –taskName taskName –jobId jobId –jobName jobName –project projectName –logFile logFilePath [taskPath]+ Output HASH format:

Perl SDK Module: AutoTask Read More »

Perl SDK Module: ZoomUtils

Name ZoomUtils – Utilities assisting zoom commands Dependencies Ensure the Perl SDK is setup Synopsis use ZoomUtils; my $relPath = ZoomUtils::subpath($prefix,$fullPath);  Methods tmpDir Usage: tmpDir() Creates a temporary directory in path specified by tmpDir field under ENVIRONMENT section in config.ini. If tmpDir field is not speciied, temporary directory will be created in OS specific temp folder such

Perl SDK Module: ZoomUtils Read More »

Perl SDK Module: ZoomImageProc

Name ZoomImageProc – Helper methods for processing images Dependencies Ensure the Perl SDK is setup. Synopsis use ZoomImageProc; ZoomImageProc::resize($inFile,$outFile,$resizeValue); Methods resize Usage: ZoomImageProc::resize($inFile,$outFile,$resizeValue) Resize the input file based on resize parameters specified. Returns 1 on success and 0 on failure my $status = ZoomImageProc::resize($inFile,$outFile,$resizeValue); Converter Configuration – Below fields should be set in config.ini[ENVIRONMENT]convertPath =

Perl SDK Module: ZoomImageProc Read More »

Perl SDK installation

Zoom supports a Perl SDK that provides higher-level constructs than the regular Zoom Web/Java/command line APIs. This allows developers to integrate with Zoom using the powerful Perl scripting language on any OS platform (Windows, Mac, Linux). The automation developed using the Perl SDK can be used with Zoom Workflow Auto Tasks, Zoom Hot Folder pre/post hooks, Archive pre/post hooks,

Perl SDK installation Read More »