slidize_cloud

SlidizeCloud - the Ruby gem for the Slidize.Cloud Web API References

Slidize.Cloud Web API for managing PowerPoint presentations.

This SDK is automatically generated by the OpenAPI Generator project:

  • API version: v1.0
  • Package version: 24.10.0
  • Build package: org.openapitools.codegen.languages.RubyClientCodegen

Installation

Build a gem

To build the Ruby code into a gem:

gem build slidize_cloud.gemspec

Then either install the gem locally:

gem install ./slidize_cloud-24.10.0.gem

(for development, run gem install --dev ./slidize_cloud-24.10.0.gem to install the development dependencies)

or publish the gem to a gem hosting service, e.g. RubyGems.

Finally add this to the Gemfile:

gem 'slidize_cloud', '~> 24.10.0'

Install from Git

If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:

gem 'slidize_cloud', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'

Include the Ruby code directly

Include the Ruby code directly using -I as follows:

ruby -Ilib script.rb

Getting Started

Please follow the installation procedure and then run the following code:

# Load the gem
require 'slidize_cloud'

api_instance = SlidizeCloud::SlidizeApi.new
format = SlidizeCloud::ExportFormat::ODP # ExportFormat | Output file format.
documents = [File.new('/path/to/some/file')] # Array<File> | 

begin
  #Converts files provided in the request body into target format and returns conversion result.
  result = api_instance.convert(format, documents)
  p result
rescue SlidizeCloud::ApiError => e
  puts "Exception when calling SlidizeApi->convert: #{e}"
end

Documentation for API Endpoints

All URIs are relative to https://api.slidize.cloud/v1.0/slides

Class Method HTTP request Description
SlidizeCloud::SlidizeApi convert POST /convert/format Converts files provided in the request body into target format and returns conversion result.
SlidizeCloud::SlidizeApi convert_to_video POST /video Converts file provided in the request body into video.
SlidizeCloud::SlidizeApi image_watermark POST /watermark/image Adds image watermarks and return result.
SlidizeCloud::SlidizeApi merge POST /merge/format Merges files provided in the request and saves the merge result into target format.
SlidizeCloud::SlidizeApi protect POST /lock Protects presentation with specified password and returns result.
SlidizeCloud::SlidizeApi remove_annotations POST /removeAnnotations Remove annotations from presentation
SlidizeCloud::SlidizeApi remove_macros POST /removeMacros Remove macros from presentation
SlidizeCloud::SlidizeApi replace_text POST /replaceText Replace text in presentation.
SlidizeCloud::SlidizeApi split POST /split/format Splits presentation according to the specified slides range and saves result into target format.
SlidizeCloud::SlidizeApi text_watermark POST /watermark/text Adds text watermarks and return result.
SlidizeCloud::SlidizeApi unprotect POST /unlock Removes password from the presentation and returns result.

Documentation for Models

Documentation for Authorization

Endpoints do not require authorization.