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 npmjs.com adresinde mevcuttur ve aşağıdaki komut çalıştırılarak npm ile kurulabilir:
npm install groupdocs-assembly-cloud

Gereksinimler
Bağımlılıklar
SDK aşağıdaki paketleri gerektirir:
| Package | Constraint |
|---|
| @types/request | ^2.48.4 |
| blob | ^0.1.0 |
| request | ^2.88.2 |
| request-debug | ^0.2.0 |
| uuid | ^7.0.3 |
Hızlı Başlangıç
API kimlik bilgilerinizi alın
GroupDocs.Assembly 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.Assembly Cloud SDK for Node.js kullanmaya başlamak için aşağıdaki kodu kullanın. İlk bağımsız değişken Client ID, ikinci bağımsız değişken Client Secret’tır.
"use strict";
const { AssemblyApi } = require("groupdocs-assembly-cloud");
const assemblyApi = new AssemblyApi("YourClientId", "YourClientSecret", "https://api.groupdocs.cloud");
Ayrıntılar için baseTest.ts dosyasına bakın.
Belge oluşturun
Başlatıldıktan sonra, bir DOCX şablonu ve JSON verilerinden PDF raporu oluşturmak için bu temel örneği kullanın.
"use strict";
const { AssemblyApi, AssembleOptions, TemplateFileInfo, AssembleDocumentRequest } = require("groupdocs-assembly-cloud");
const { readFileSync } = require("fs");
const assemblyApi = new AssemblyApi("YourClientId", "YourClientSecret", "https://api.groupdocs.cloud");
const assembleOptionsData = new AssembleOptions({
saveFormat: "pdf",
reportData: readFileSync("./TestData/Teams.json", "utf8"),
templateFileInfo: new TemplateFileInfo({
filePath: "Temp/SdkTests/node/TestData/GroupDocs.Assembly/TestAllChartTypes.docx",
}),
});
const request = new AssembleDocumentRequest({
assembleOptions: assembleOptionsData,
});
assemblyApi.assembleDocument(request).then((result) => {
console.log("Document assembled: " + result.body.byteLength);
});
Ayrıntılar için apiTest.ts dosyasına bakın.
Şablon yükleyin
Bu örnek, oluşturmadan önce bir şablonu bulut depolamaya yükler.
"use strict";
const { AssemblyApi, UploadFileRequest } = require("groupdocs-assembly-cloud");
const { createReadStream } = require("fs");
const assemblyApi = new AssemblyApi("YourClientId", "YourClientSecret", "https://api.groupdocs.cloud");
const request = new UploadFileRequest({
fileContent: createReadStream("./TestData/TestAllChartTypes.docx"),
path: "Temp/SdkTests/node/TestData/GroupDocs.Assembly/TestAllChartTypes.docx",
});
assemblyApi.uploadFile(request);
Ayrıntılar için apiTest.ts dosyasına bakın.
Desteklenen oluşturma biçimlerini alın
API’nin oluşturabileceği dosya biçimlerini alın.
"use strict";
const { AssemblyApi, GetSupportedFileFormatsRequest } = require("groupdocs-assembly-cloud");
const assemblyApi = new AssemblyApi("YourClientId", "YourClientSecret", "https://api.groupdocs.cloud");
const request = new GetSupportedFileFormatsRequest();
assemblyApi.getSupportedFileFormats(request);
Ayrıntılar için api.ts dosyasına bakın.
Depolamadaki dosyaları listeleyin
Bu örnek bulut depolamadaki bir klasörün dosyalarını listeler.
"use strict";
const { AssemblyApi, GetFilesListRequest } = require("groupdocs-assembly-cloud");
const assemblyApi = new AssemblyApi("YourClientId", "YourClientSecret", "https://api.groupdocs.cloud");
const request = new GetFilesListRequest({ path: "/Folder1" });
assemblyApi.getFilesList(request);
Ayrıntılar için model.ts dosyasına bakın.
GitHub’daki örnekler
GroupDocs.Assembly Cloud Node.js SDK deposu şunları kapsayan SDK’yı ve testleri içerir:
| Category | Examples |
|---|
| Assembly | Şablon ve JSON verilerinden belge oluşturma |
| Storage | Dosya ve klasör yükleme, indirme, kopyalama, taşıma ve silme |
| Info | Desteklenen dosya biçimleri |
Örnekleri çalıştırma
- SDK deposunu klonlayın veya indirin
- Proje kökünde
testConfig.json oluşturun ve AppSid, AppKey ile BaseUrl değerlerini ayarlayın npm install komutunu çalıştırın- Testler
test/apiTest.ts içindedir npm test komutunu çalıştırın
Ayrıntılar için Getting Started sayfasını ziyaret edin.

Document Automation | Node.js Cloud API | GroupDocs.Assembly Cloud | REST API | Document Generation | Template-Driven | Dynamic Data Merging | Rich Formatting | Conditional Content Control | List Automation | Table Automation | Barcode Generation | Hyperlink Insertion | Bookmark Creation | Checkbox Manipulation | Mail Merge | Formula Calculations | Chart Generation | Data Filtering | Data Sorting | Data Grouping | JWT Authentication | Microsoft Word | Microsoft Excel | Microsoft PowerPoint | Report Generation | Cloud-Based Flexibility | Secure API Access | Cross-platform API