Manipulate Microsoft and OpenOffice Presentation Documents Using Aspose.Slides Cloud API SDK for Perl

Aspose.Slides Cloud

Aspose.Slides Cloud’s platform independent document manipulation API is a true REST API that can be used with any language: .NET, Java, Perl, PHP, Ruby, Rails, Python, Node.js and many more. You can use it with any platform — web, desktop, mobile, and cloud. Aspose.Slides Cloud is a unique PowerPoint® management API that enables you to read, write, convert and manipulate Microsoft, OpenOffice and others PowerPoint documents on the cloud. Aspose.Slides Cloud is a complete solution for performing any manipulation you can wish to perform on PowerPoint documents in the cloud. Learn More What’s new in the latest release This is a major release for Aspose.Slides Cloud SDK for Perl. It covers all the Aspose.Slides Cloud APIs. This SDK provides a complete solution to manipulate PowerPoint documents in perl using powerful Aspose.Slides Cloud APIs, so you can perform any operation on PowerPoint documents in the cloud seamlessly. Source Code Repository Complete source code of this release of Aspose.Slides Cloud SDK for Perl is freely available on your favorite GitHub and Codeplex repositories. Setup Aspose.Slides Cloud SDK for Perl is also available as a released package in the CPAN (Perl Archive Network). You can bypass GitHub source code repository and depend directly on the released package by installing from npm: Aspose.Slides Cloud SDK for Perl – CPAN installation

sudo cpan AsposeSlidesCloud::SlidesApi
You can also manually build the module by downloading the code and executing the following in the root directory of the download:

perl Build.PL
./Build
./Build test
./Build install
Data In order to manipulate any files, you first need to upload them to the Aspose cloud storage or 3rd party cloud storage using Aspose.Storage Cloud SDK for Perl. Quick SDK Tutorial

use lib 'lib';
use strict;
use warnings;
use AsposeStorageCloud::StorageApi;
use AsposeStorageCloud::ApiClient;
use AsposeStorageCloud::Configuration;

use AsposeSlidesCloud::SlidesApi;
use AsposeSlidesCloud::ApiClient;
use AsposeSlidesCloud::Configuration;

$AsposeSlidesCloud::Configuration::app_sid = 'XXX';
$AsposeSlidesCloud::Configuration::api_key = 'XXX';

$AsposeSlidesCloud::Configuration::debug = 1;
$AsposeStorageCloud::Configuration::app_sid = $AsposeSlidesCloud::Configuration::app_sid;
$AsposeStorageCloud::Configuration::api_key = $AsposeSlidesCloud::Configuration::api_key;

#Instantiate Aspose.Storage API SDK 
my $storageApi = AsposeStorageCloud::StorageApi->new();

#Instantiate Aspose.Slides API SDK
my $slidesApi = AsposeSlidesCloud::SlidesApi->new();

my $data_path = '../data/';

#set input file name
my $filename = "sample";
my $name = $filename . ".pptx";
my $format = "tiff";

#upload file to aspose cloud storage 
my $response = $storageApi->PutCreate(Path => $name, file => $data_path.$name);

#invoke Aspose.Slides Cloud SDK API to save a presentation to different other formats       
$response = $slidesApi->GetSlidesDocumentWithFormat(name => $name, format => $format);

if($response->{'Status'} eq 'OK'){
	#save converted format file from response 
	my $output_file = 'C:/temp/'. $filename . '.' . $format;	
	write_file($output_file, { binmode => ":raw" }, $response->{'Content'});
}
Aspose.Slides Cloud API Documentation Aspose.Slides Cloud Documentation is available to guide developers to get familiar with the specific resources and operations within the Aspose.Slides Cloud REST API. Aspose.Slides Cloud SDK for Perl Examples Aspose.Slides Cloud SDK for Perl Examples are also available to guide developers to get familiar with SDK and its usage to invoke resources and operations using the Aspose.Slides Cloud REST API. Please see the SDK examples of following categories. Start a Free Trial Today Start a free trial today – all you need is to sign up with the Aspose Cloud service. Once you have signed up, you are ready to try the powerful file processing features offered by Aspose Cloud.