Aspose.Slides Cloud SDK for Perl

This repository contains Aspose.Slides Cloud SDK for Perl source code. This SDK allows you to work with Aspose.Slides Cloud REST APIs in your Perl applications.

Key Features

Licensing

All Aspose.Slides Cloud SDKs are licensed under MIT License.

How to use the SDK?

The complete source code is available in this repository folder. You can either directly use it in your project via source code or get CPAN module (recommended).

Prerequisites

To use Aspose Slides Cloud SDK for Perl you need to register an account with Aspose Cloud and lookup/create App Key and SID at Cloud Dashboard. There is free quota available. For more details, see Aspose Cloud Pricing.

Installation

cpan ASPOSE/AsposeSlidesCloud-SlidesApi-20.09.tar.gz

Sample usage

The example code below converts a PowerPoint document to PDF format using aspose_slides_cloud library:

	use File::Slurp;

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

	my $config = AsposeSlidesCloud::Configuration->new();
	$config->{app_sid} = "MyAppSid";
	$config->{app_key} = "MyAppKey";
	my $api = AsposeSlidesCloud::SlidesApi->new(config => $config);
	my $file = read_file("MyPresentation.pptx", { binmode => ':raw' });
	my %params = ('format' => 'pdf', 'document' => $file);
	my $result = $api->post_slides_convert(%params);
	my $pdf = "MyPresentation.pdf";
	open my $fh, '>>', $pdf;
	binmode $fh;
	print $fh $result;
	close $fh;

Contact Us

Your feedback is very important to us. Please feel free to contact us using our Support Forums.

Resources

Website
Product Home
API Reference
Documentation
Blog

Other languages

We generate our SDKs in different languages so you may check if yours is available in our list.

If you don't find your language in the list, feel free to request it from us, or use raw REST API requests as you can find it here.