Ürünlerimize göz atın

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.


Product Docs Swagger Examples Blog Support Dashboard

Kurulum

Paket npmjs.com adresinde mevcuttur ve aşağıdaki komut çalıştırılarak npm ile kurulabilir:

npm install groupdocs-parser-cloud

NPM Version NPM Downloads NPM-GroupDocsCloud


Gereksinimler

Bağımlılıklar

SDK aşağıdaki paketleri gerektirir:

PackageConstraint
axios1.13.5
form-data*
jsonwebtoken9.0.1
qs6.14.1

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 Node.js kullanmaya başlamak için aşağıdaki kodu kullanın.

"use strict";
const parser_cloud = require("groupdocs-parser-cloud");

const appSid = "YourClientId";
const appKey = "YourClientSecret";

const config = new parser_cloud.Configuration(appSid, appKey);
config.apiBaseUrl = "https://api.groupdocs.cloud";

const parseApi = parser_cloud.ParseApi.fromConfig(config);

Tam örneği RunExamples.js içinde görün.

Belgeden metin çıkarın

Başlatıldıktan sonra, bir e-posta belgesinden metin çıkarmak için bu temel örneği kullanın.

"use strict";
const parser_cloud = require("groupdocs-parser-cloud");

const appSid = "YourClientId";
const appKey = "YourClientSecret";

const config = new parser_cloud.Configuration(appSid, appKey);
config.apiBaseUrl = "https://api.groupdocs.cloud";

const parseApi = parser_cloud.ParseApi.fromConfig(config);

(async () => {
    let fileInfo = new parser_cloud.FileInfo();
    fileInfo.filePath = "email/eml/embedded-image-and-attachment.eml";
    let options = new parser_cloud.TextOptions();
    options.fileInfo = fileInfo;

    let request = new parser_cloud.TextRequest(options);
    let response = await parseApi.text(request);
    console.log("Text: " + response.text);
})();

Tam örneği ExtractTextFromTheWholeDocument.js içinde görün.

Belgeden görüntüleri çıkarın

Bu örnek bir sunudan görüntüleri çıkarır.

"use strict";
const parser_cloud = require("groupdocs-parser-cloud");

const appSid = "YourClientId";
const appKey = "YourClientSecret";

const config = new parser_cloud.Configuration(appSid, appKey);
config.apiBaseUrl = "https://api.groupdocs.cloud";

const parseApi = parser_cloud.ParseApi.fromConfig(config);

(async () => {
    let fileInfo = new parser_cloud.FileInfo();
    fileInfo.filePath = "slides/three-slides.pptx";
    let options = new parser_cloud.ImagesOptions();
    options.fileInfo = fileInfo;

    let request = new parser_cloud.ImagesRequest(options);
    let response = await parseApi.images(request);
    response.images.forEach(image => {
        console.log("Image path " + image.path + ". Download url: " + image.downloadUrl);
    });
})();

Tam örneği ExtractImagesFromTheWholeDocument.js 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.

"use strict";
const parser_cloud = require("groupdocs-parser-cloud");

const appSid = "YourClientId";
const appKey = "YourClientSecret";

const config = new parser_cloud.Configuration(appSid, appKey);
config.apiBaseUrl = "https://api.groupdocs.cloud";

const parseApi = parser_cloud.ParseApi.fromConfig(config);

(async () => {
    let fileInfo = new parser_cloud.FileInfo();
    fileInfo.filePath = "words-processing/docx/companies.docx";
    let options = new parser_cloud.ParseOptions();
    options.fileInfo = fileInfo;
    options.templatePath = "templates/companies.json";

    let request = new parser_cloud.ParseRequest(options);
    let response = await parseApi.parse(request);
    response.fieldsData.forEach(data => {
        if (data.pageArea.pageTextArea != null) {
            console.log("Field name: " + data.name + ". Text :" + data.pageArea.pageTextArea.text);
        }
    });
})();

Tam örneği ParseByTemplateStoredInUserStorage.js içinde görün.

Desteklenen ayrıştırma biçimlerini alın

API’nin ayrıştırabileceği belge biçimlerini alın.

"use strict";
const parser_cloud = require("groupdocs-parser-cloud");

const appSid = "YourClientId";
const appKey = "YourClientSecret";

const config = new parser_cloud.Configuration(appSid, appKey);
config.apiBaseUrl = "https://api.groupdocs.cloud";

const infoApi = parser_cloud.InfoApi.fromConfig(config);

(async () => {
    let response = await infoApi.getSupportedFileFormats();
    console.log("Formats count: " + response.formats.length);
})();

Tam örneği GetSupportedFileTypes.js içinde görün.

GitHub’daki örnekler

GroupDocs.Parser Cloud Node.js Examples deposu şunları kapsayan çalıştırmaya hazır örnekler içerir:

CategoryExamples
ParseMetin, biçimli metin, görüntüler, şablonla ayrıştırma
InfoBelge bilgileri, kapsayıcı öğeleri, desteklenen biçimler
TemplatesŞablon oluşturma veya güncelleme, alma ve silme

Örnekleri çalıştırma

  1. örnek deposunu klonlayın veya indirin
  2. Examples/RunExamples.js dosyasını düzenleyin ve appSid ile appKey değerlerini ayarlayın
  3. Examples dizinine gidin
  4. npm install komutunu çalıştırın
  5. npm update komutunu çalıştırın
  6. npm run-script start komutunu çalıştırın

Ayrıntılar için Getting Started sayfasını ziyaret edin.


Product Docs Swagger Examples Blog Support Dashboard


Tags

Document Data Extraction | Node.js 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



 Türkçe