RESTful API to efficiently build Ruby applications for rendering & viewing documents of all popular formats. Render as HTML, PNG, JPG or PDF.
Start Free TrialGroupDocs.Viewer SDK for Ruby has been developed to help you get started with our Document Viewer Cloud API. The SDK helps by providing a higher level of abstraction so that you don’t need to know the details pertaining to handling the HTTP requests and responses of the REST APIs.
Using the Ruby SDK, you can utilize all the features of the API and can seamlessly enhance your application with the capability to render a variety of the industry-standard document formats. The SDK allows viewing a specific document in HTML, image, PDF or its original format with the flexibility to render the whole document, page by page or custom range of pages.
Check out GroupDocs.Viewer Cloud SDK for Ruby at GitHub if you are looking for the source code to view file in the Cloud.
You can try GroupDocs.Viewer Low-Code Ruby APIs without any limitations.
GroupDocs.Viewer Cloud is also available as Docker image which can be used to self-host the service. Or you may build your own services using GroupDocs.Viewer High-code APIs which currently drive our REST APIs.
Using the GroupDocs Cloud APIs is quite simple as there is nothing to install. Simply create an account at GroupDocs Cloud and get your application information. Once you have the App SID & key, you are ready to give the GroupDocs Cloud REST APIs a try. The SDKs have been developed to facilitate the developers and to let them get started with our APIs real fast by hiding the REST API calls and allowing you to use the features of the API in a native way using Ruby as the language.
The cloud-based viewer API has the ability to display different document formats quickly, with just a few lines of code. Using the SDK for Ruby you can find out about the various document formats supported by the SDK.
// Get your App SID and App Key at https://dashboard.groupdocs.cloud (free registration is required).
# Getting instance of the API
api = GroupDocsViewerCloud::ViewerApi.from_keys($app_sid, $app_key)
# Retrieve supported file formats
response = api.get_supported_file_formats()
# Print supported file formats
response.formats.each do |format|
puts("#{format.file_format} (#{format.extension})")
One of the most exciting features of our Cloud-based viewer API is its ability to minify the output content. Minification removes comments, extra white-spaces, and other unneeded characters without breaking the content structure. As a result, the page becomes smaller in size and loads faster.
GroupDocs.Viewer is a powerful document viewer REST API that allows you to display over 85 document formats in your applications. It allows document rendering for the whole document, page by page or custom range of pages.
GroupDocs.Viewer Cloud SDK for Ruby is 100% tested and out of the box running. The SDK is open source and has an MIT license. The API is easy to customize and changes can be made according to the features you need to add in your application.
GroupDocs.Viewer Cloud for Ruby supports a wide range of file formats, including but not limited to:
With GroupDocs.Viewer Cloud for Ruby, you can customize the rendering options to meet your specific requirements. Some of the key rendering options include:
GroupDocs.Viewer Cloud for Ruby allows you to render documents in various formats, including:
Apart from rendering, GroupDocs.Viewer Cloud for Ruby provides several document manipulation features, such as:
GroupDocs.Viewer Cloud for Ruby is compatible with a range of platforms, including:
You can easily integrate GroupDocs.Viewer Cloud for Ruby with third-party storage providers, such as:
GroupDocs.Viewer Cloud for Ruby offers secure document viewing with features like:
To optimize performance, GroupDocs.Viewer Cloud for Ruby provides caching mechanisms, including:
GroupDocs.Viewer Cloud for Ruby allows you to extract metadata from documents, such as:
GroupDocs.Viewer Cloud for Ruby is designed to work seamlessly across different platforms, including:
You can customize and brand the document viewer with GroupDocs.Viewer Cloud for Ruby by:
GroupDocs.Viewer Cloud for Ruby provides comprehensive documentation and support resources, including: