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_metadata_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.Metadata 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.Metadata Cloud SDK for Ruby kullanmaya başlamak için aşağıdaki kodu kullanın. Oluşturucu önce Client ID, ardından Client Secret alır.
require 'groupdocs_metadata_cloud'
# Get your APP_SID and APP_KEY at https://dashboard.groupdocs.cloud
client_id = "YourClientId"
client_secret = "YourClientSecret"
config = GroupDocsMetadataCloud::Configuration.new(client_id, client_secret)
config.api_base_url = "https://api.groupdocs.cloud"
metadata_api = GroupDocsMetadataCloud::MetadataApi.from_config(config)
Ayrıntılar için test_context.rb dosyasına bakın.
Başlatıldıktan sonra, bulut depolamadaki bir Word belgesinden meta veri ağacını çıkarmak için bu temel örneği kullanın.
require 'groupdocs_metadata_cloud'
client_id = "YourClientId"
client_secret = "YourClientSecret"
config = GroupDocsMetadataCloud::Configuration.new(client_id, client_secret)
config.api_base_url = "https://api.groupdocs.cloud"
metadata_api = GroupDocsMetadataCloud::MetadataApi.from_config(config)
options = GroupDocsMetadataCloud::ExtractOptions.new
options.file_info = GroupDocsMetadataCloud::FileInfo.new
options.file_info.file_path = "documents/input.docx"
request = GroupDocsMetadataCloud::ExtractRequest.new(options)
response = metadata_api.extract(request)
puts(response.metadata_tree.inner_packages.length.to_s)
Ayrıntılar için test_metadata_extract_api.rb dosyasına bakın.
Bu örnek bir Word belgesindeki Creator özelliğini değiştirir.
require 'groupdocs_metadata_cloud'
client_id = "YourClientId"
client_secret = "YourClientSecret"
config = GroupDocsMetadataCloud::Configuration.new(client_id, client_secret)
config.api_base_url = "https://api.groupdocs.cloud"
metadata_api = GroupDocsMetadataCloud::MetadataApi.from_config(config)
options = GroupDocsMetadataCloud::SetOptions.new
options.file_info = GroupDocsMetadataCloud::FileInfo.new
options.file_info.file_path = "documents/input.docx"
exact_tag = GroupDocsMetadataCloud::Tag.new
exact_tag.name = "Creator"
exact_tag.category = "Person"
tag_options = GroupDocsMetadataCloud::TagOptions.new
tag_options.exact_tag = exact_tag
search_criteria = GroupDocsMetadataCloud::SearchCriteriaWithoutValue.new
search_criteria.tag_options = tag_options
set_property = GroupDocsMetadataCloud::SetProperty.new
set_property.new_value = "NewAuthor"
set_property.type = "String"
set_property.search_criteria = search_criteria
options.properties = [set_property]
request = GroupDocsMetadataCloud::SetRequest.new(options)
response = metadata_api.set(request)
puts(response.set_count.to_s)
Ayrıntılar için test_metadata_set_api.rb dosyasına bakın.
Bu örnek bir Word belgesinden Title özelliğini kaldırır.
require 'groupdocs_metadata_cloud'
client_id = "YourClientId"
client_secret = "YourClientSecret"
config = GroupDocsMetadataCloud::Configuration.new(client_id, client_secret)
config.api_base_url = "https://api.groupdocs.cloud"
metadata_api = GroupDocsMetadataCloud::MetadataApi.from_config(config)
options = GroupDocsMetadataCloud::RemoveOptions.new
options.file_info = GroupDocsMetadataCloud::FileInfo.new
options.file_info.file_path = "documents/input.docx"
exact_tag = GroupDocsMetadataCloud::Tag.new
exact_tag.name = "Title"
exact_tag.category = "Content"
tag_options = GroupDocsMetadataCloud::TagOptions.new
tag_options.exact_tag = exact_tag
search_criteria = GroupDocsMetadataCloud::SearchCriteria.new
search_criteria.tag_options = tag_options
options.search_criteria = search_criteria
request = GroupDocsMetadataCloud::RemoveRequest.new(options)
response = metadata_api.remove(request)
puts(response.removed_count.to_s)
Ayrıntılar için test_metadata_remove_api.rb dosyasına bakın.
Belge bilgilerini alın
Bu örnek bir sununun dosya biçimini ve sayfa sayısını okur.
require 'groupdocs_metadata_cloud'
client_id = "YourClientId"
client_secret = "YourClientSecret"
config = GroupDocsMetadataCloud::Configuration.new(client_id, client_secret)
config.api_base_url = "https://api.groupdocs.cloud"
info_api = GroupDocsMetadataCloud::InfoApi.from_config(config)
options = GroupDocsMetadataCloud::InfoOptions.new
options.file_info = GroupDocsMetadataCloud::FileInfo.new
options.file_info.file_path = "documents/input.pptx"
request = GroupDocsMetadataCloud::GetInfoRequest.new(options)
response = info_api.get_info(request)
puts(response.page_count.to_s)
Ayrıntılar için test_metadata_info_api.rb dosyasına bakın.
API’nin okuyabileceği dosya biçimlerini alın.
require 'groupdocs_metadata_cloud'
client_id = "YourClientId"
client_secret = "YourClientSecret"
config = GroupDocsMetadataCloud::Configuration.new(client_id, client_secret)
config.api_base_url = "https://api.groupdocs.cloud"
info_api = GroupDocsMetadataCloud::InfoApi.from_config(config)
response = info_api.get_supported_file_formats
response.formats.each do |format|
puts(format.file_format)
end
Ayrıntılar için test_metadata_formats_api.rb dosyasına bakın.
GitHub’daki örnekler
GroupDocs.Metadata Cloud Ruby SDK deposu şunları kapsayan SDK’yı ve testleri içerir:
| Category | Examples |
|---|
| Metadata | Meta verileri çıkarma, ekleme, ayarlama ve kaldırma, etikete veya özellik adına göre arama |
| Info | Belge bilgileri ve desteklenen dosya biçimleri |
| Storage | Dosya, klasör ve depolama işlemleri |
Örnekleri çalıştırma
- SDK deposunu klonlayın veya indirin
test/test_settings.rb dosyasını düzenleyin ve APP_SID ile APP_KEY değerlerini ayarlayıngem install groupdocs_metadata_cloud komutunu çalıştırın- Testler
test/api/ içindedir
Ayrıntılar için Getting Started sayfasını ziyaret edin.

Document Metadata API | Ruby Cloud API | GroupDocs.Metadata Cloud | REST API | Metadata Extraction | Metadata Management | Metadata Filtering | Metadata Searching | Metadata Preservation | Cloud Storage Integration | File Management | Folder Management | File Versioning | Secure API Access | Cross-Platform API | PDF Metadata | Image Metadata | Video Metadata | Audio Metadata | Document Metadata Editing | MIT License