Create, Modify and Convert Presentations in Ruby web apps using Aspose.Slides Cloud SDK for Ruby

Share on FacebookTweet about this on TwitterShare on LinkedIn

Aspose.Slides Cloud

Aspose.Slides Cloud logoAspose.Slides Cloud is a REST API which allows you to process presentations. It allows you to create, modify, and convert presentations and provides a wide variety of features for working with presentations in the cloud. You can convert a presentation to TIFF, PDF, XPS, PPTX, ODP, PPSX, PPTM, PPSM, POTX, POTM, HTML and image formats. Aspose.Slides Cloud allows you to extract different elements or a presentation including slide, text, color schemes, font schemes, shapes and images etc. Aspose.Slides Cloud’s powerful API lets your apps process Microsoft PowerPoint presentations in the cloud, saving you the time it would take to develop your own API.

Installing

You can install Aspose Slides Cloud SDK with RubyGem:

gem install aspose_slides_cloud

Source files

This SDK is open source and available on GitHub and CodePlex.

Usage

APIs of this SDK can be called as follows:

require 'aspose_slides_cloud'

class SlidesUsage

  include AsposeSlidesCloud
  include AsposeStorageCloud

  def initialize
    #Get App key and App SID from https://cloud.aspose.com
    AsposeApp.app_key_and_sid("APP_KEY", "APP_SID")
    @slides_api = SlidesApi.new  
  end

  def put_slides_convert
    #Convert presentation from request content to format specified.
    file_name = "sample.pptx"
    convert_to_format = "pdf"
    response = @slides_api.put_slides_convert(File.open("data/" << file_name,"r") { |io| io.read }, {format: convert_to_format})
  end

end

Aspose.Slides Cloud SDK Examples

Programmer’s Guide, a complete manual on programming with Aspose.Slides Cloud APIs. It holds the wealth of features with sample codes and capabilities.

Unit Tests

To help you get started we also provided unit test coverage to Aspose.Slides APIs.

Start a Free Trial Today

Start a free trial today – all you need is to sign up with Aspose Cloud service. Once you have signed up, you are ready to try powerful file processing features offered by Aspose Cloud.