If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.
If you experience errors, when you try to download a file, make sure your network policies (enforced by your company or ISP) allow downloading ZIP and/or MSI files.

Installation
The package is available at rubygems.org and it can be installed via gem by executing the following command:
gem install groupdocs_parser_cloud

Requirements
Dependencies
The SDK requires the following gems:
| Package | Constraint |
|---|
| addressable | ~> 2.8.0, >= 2.8.0 |
| faraday | ~> 0.14.0 |
Quick Start
Get your API credentials
To use GroupDocs.Parser Cloud, sign up at GroupDocs.Cloud Dashboard and get your Client ID and Client Secret.
Initialize the API
Use the following code to start using the GroupDocs.Parser Cloud SDK for Ruby.
require 'groupdocs_parser_cloud'
# Get your app_sid and app_key at https://dashboard.groupdocs.cloud
app_sid = "YourClientId"
app_key = "YourClientSecret"
config = GroupDocsParserCloud::Configuration.new(app_sid, app_key)
config.api_base_url = "https://api.groupdocs.cloud"
parseApi = GroupDocsParserCloud::ParseApi.from_config(config)
See the full example in RunExamples.rb.
Once initialized, use this basic example to extract text from a whole document in cloud storage.
require 'groupdocs_parser_cloud'
app_sid = "YourClientId"
app_key = "YourClientSecret"
config = GroupDocsParserCloud::Configuration.new(app_sid, app_key)
config.api_base_url = "https://api.groupdocs.cloud"
parseApi = GroupDocsParserCloud::ParseApi.from_config(config)
options = GroupDocsParserCloud::TextOptions.new
options.file_info = GroupDocsParserCloud::FileInfo.new
options.file_info.file_path = "email/eml/embedded-image-and-attachment.eml"
request = GroupDocsParserCloud::TextRequest.new(options)
response = parseApi.text(request)
puts("Text: " + response.text)
See the full example in ExtractTextFromTheWholeDocument.rb.
This example extracts every image from a presentation.
require 'groupdocs_parser_cloud'
app_sid = "YourClientId"
app_key = "YourClientSecret"
config = GroupDocsParserCloud::Configuration.new(app_sid, app_key)
config.api_base_url = "https://api.groupdocs.cloud"
parseApi = GroupDocsParserCloud::ParseApi.from_config(config)
options = GroupDocsParserCloud::ImagesOptions.new
options.file_info = GroupDocsParserCloud::FileInfo.new
options.file_info.file_path = "slides/three-slides.pptx"
request = GroupDocsParserCloud::ImagesRequest.new(options)
response = parseApi.images(request)
response.images.each do |image|
puts("Image path in storage: " + image.path + ". Download url: " + image.download_url)
puts("Image format: " + image.file_format + ". Page index: " + image.page_index.to_s)
end
See the full example in ExtractImagesFromTheWholeDocument.rb.
Parse a Document by a Stored Template
This example parses a Word document with a template stored in cloud storage. The full example creates templates/companies.json when that file is missing.
require 'groupdocs_parser_cloud'
app_sid = "YourClientId"
app_key = "YourClientSecret"
config = GroupDocsParserCloud::Configuration.new(app_sid, app_key)
config.api_base_url = "https://api.groupdocs.cloud"
parseApi = GroupDocsParserCloud::ParseApi.from_config(config)
options = GroupDocsParserCloud::ParseOptions.new
options.file_info = GroupDocsParserCloud::FileInfo.new
options.file_info.file_path = "words-processing/docx/companies.docx"
options.template_path = "templates/companies.json"
request = GroupDocsParserCloud::ParseRequest.new(options)
response = parseApi.parse(request)
response.fields_data.each do |data|
unless data.page_area.page_text_area.nil?
puts("Field name: " + data.name + ". Text :" + data.page_area.page_text_area.text)
end
end
See the full example in ParseByTemplateStoredInUserStorage.rb.
Retrieve the document formats the API can parse.
require 'groupdocs_parser_cloud'
app_sid = "YourClientId"
app_key = "YourClientSecret"
config = GroupDocsParserCloud::Configuration.new(app_sid, app_key)
config.api_base_url = "https://api.groupdocs.cloud"
infoApi = GroupDocsParserCloud::InfoApi.from_config(config)
result = infoApi.get_supported_file_formats()
puts("Formats count: " + result.formats.length.to_s)
See the full example in GetSupportedFormats.rb.
Examples on GitHub
The GroupDocs.Parser Cloud Ruby Examples repository includes ready-to-run examples covering:
| Category | Examples |
|---|
| Parse | Text, formatted text, images, barcodes, template parsing, AI parse |
| Info | Document information, container items, supported formats |
| Templates | Create or update, get, and delete a template |
How to run the examples
- Clone or download the examples repository
- Edit
Examples/RunExamples.rb and set your app_sid and app_key - Go to the
Examples directory - Run
gem install groupdocs_parser_cloud - Execute
ruby RunExamples.rb
For more details, visit Getting Started.

Document Data Extraction | Ruby Cloud API | GroupDocs.Parser Cloud | REST API | Text Extraction | Image Extraction | Template Parsing | Data Parsing | Document Information | Container Files | Cloud Storage Integration | File Operations | Folder Operations | Secure API Access | Document Parsing | Metadata Extraction | PDF Parsing | ZIP Files | PST/OST Files | Cross-platform API | Document Processing | Data Extraction API