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.

Kurulum
Paket rubygems.org adresinde mevcuttur ve aşağıdaki komut çalıştırılarak gem ile kurulabilir:
gem install groupdocs_parser_cloud

Gereksinimler
Bağımlılıklar
SDK aşağıdaki gem’leri gerektirir:
| Package | Constraint |
|---|
| addressable | ~> 2.8.0, >= 2.8.0 |
| faraday | ~> 0.14.0 |
Hızlı Başlangıç
API kimlik bilgilerinizi alın
GroupDocs.Parser Cloud kullanmak için GroupDocs.Cloud Dashboard adresinden kaydolun ve Client ID ile Client Secret değerlerinizi alın.
API’yi başlatın
GroupDocs.Parser Cloud SDK for Ruby kullanmaya başlamak için aşağıdaki kodu kullanın.
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)
Tam örneği RunExamples.rb içinde görün.
Belgeden metin çıkarın
Başlatıldıktan sonra, bulut depolamadaki belgenin tamamından metin çıkarmak için bu temel örneği kullanın.
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)
Tam örneği ExtractTextFromTheWholeDocument.rb içinde görün.
Belgeden görüntüleri çıkarın
Bu örnek bir sunudaki her görüntüyü çıkarır.
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
Tam örneği ExtractImagesFromTheWholeDocument.rb içinde görün.
Saklanan bir şablonla belgeyi ayrıştırın
Bu örnek, bulut depolamada saklanan bir şablonla bir Word belgesini ayrıştırır. Tam örnek, dosya yoksa templates/companies.json dosyasını oluşturur.
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
Tam örneği ParseByTemplateStoredInUserStorage.rb içinde görün.
Desteklenen ayrıştırma biçimlerini alın
API’nin ayrıştırabileceği belge biçimlerini alın.
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)
Tam örneği GetSupportedFormats.rb içinde görün.
GitHub’daki örnekler
GroupDocs.Parser Cloud Ruby Examples deposu şunları kapsayan çalıştırmaya hazır örnekler içerir:
| Category | Examples |
|---|
| Parse | Metin, biçimli metin, görüntüler, barkodlar, şablonla ayrıştırma, yapay zeka ayrıştırması |
| Info | Belge bilgileri, kapsayıcı öğeleri, desteklenen biçimler |
| Templates | Şablon oluşturma veya güncelleme, alma ve silme |
Örnekleri çalıştırma
- örnek deposunu klonlayın veya indirin
Examples/RunExamples.rb dosyasını düzenleyin ve app_sid ile app_key değerlerini ayarlayınExamples dizinine gidingem install groupdocs_parser_cloud komutunu çalıştırınruby RunExamples.rb komutunu çalıştırın
Ayrıntılar için Getting Started sayfasını ziyaret edin.

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