Skip to content

groupdocs-metadata-cloud/groupdocs-metadata-cloud-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GroupDocs.Metadata Cloud Ruby SDK

Ruby gem for communicating with the GroupDocs.Metadata Cloud API. This SDK allows you to work with GroupDocs.Metadata Cloud REST APIs in your Ruby applications.

Requirements

Ruby 2.4+

Installation

Install groupdocs_metadata_cloud from RubyGems:

gem install groupdocs_metadata_cloud

Or add the dependency to your Gemfile and run bundle install:

gem "groupdocs_metadata_cloud", "~> 26.1"

Getting Started

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

# Import modules
require "./Common.rb"

#  This example demonstrates how to extract formatted text from document.
class ExtractFormattedText
  def self.Run()
    parseApi = GroupDocsMetadataCloud::ParseApi.from_config($config)
    options = GroupDocsMetadataCloud::TextOptions.new
    options.file_info = GroupDocsMetadataCloud::FileInfo.new
    options.file_info.file_path = "words-processing/docx/formatted-document.docx"

    text_options = GroupDocsMetadataCloud::FormattedTextOptions.new
    text_options.mode = "Markdown"
    options.formatted_text_options = text_options

    request = GroupDocsMetadataCloud::TextRequest.new(options)
    response = parseApi.text(request)
    puts("Text:" + response.text)
  end
end

Licensing

GroupDocs.Metadata Cloud Ruby SDK licensed under MIT License.

Resources

Contact Us

Your feedback is very important to us. Please feel free to contact us

About

Ruby gem for communicating with the GroupDocs.Metadata Cloud API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages