Aspose.Cells Cloud SDK for NodeJS
- API version: 3.0
- SDK version: 19.9
This repository contains Aspose.Cells Cloud SDK for NodeJS source code. This SDK allows you to work with Aspose.Cells Cloud REST APIs in your NodeJS applications quickly and easily, with zero initial cost.
Key Features
-
Conversion between various document-related formats (20+ formats supported), including PDF<->Excel conversion
-
Splitting Excel documents
-
Accessing Excel document metadata and statistics
-
Find and replace
-
Watermarks and protection
-
Full read & write access to Cells Object Model, including workbook, worksheet, cell, shapes, tables, list object ,ole Object,headers/footers and many others
See API Reference for full API specification.
Storage API support
Since version 19.9 SDK includes support of storage operations for better user experience and unification, so now there's no need to use 2 different SDKs!
It gives you an ability to:
- Upload, download, copy, move and delete files, including versions handling (if you are using Cloud storage that supports this feature - true by default)
- Create, copy, move and delete folders
- Copy and move files and folders accross separate storages in scope of a single operation
- Check if certain file, folder or storage exists
Licensing
All Aspose.Cells Cloud SDKs are licensed under MIT License.
How to use the SDK?
The complete source code is available in this repository folder. You can either directly use it in your project via source code or get nmpjs distribution (recommended). For more details, please visit our documentation website.
Prerequisites
To use Aspose.Cells Cloud SDK you need to register an account with Aspose Cloud and lookup/create App Key and SID at Cloud Dashboard. There is free quota available. For more details, see Aspose Cloud Pricing.
Installation
Install Aspose.Cells-Cloud via NPM
From the command line:
npm install asposecellscloud --save
Sample usage
var fs = require('fs');
var path = require('path');
var assert = require('assert');
const localPath = "../TestData/";
describe('cellsWorkbookPutConvertWorkbook', function() {
it('should call cellsWorkbookPutConvertWorkbook successfully', function() {
const cellsApi =new api.CellsApi(AppSid, AppKey);
const filename = "Book1.xlsx";
var data =fs.createReadStream(localPath + filename);
var req = new model.UploadFileRequest();
req.path = "Temp/" + filename;
req.file = data;
return cellsApi.uploadFile(req)
.then(() => {
var req = new model.CellsWorkbook_PutConvertWorkbookRequest({
workbook : fs.createReadStream(localPath + filename),
format : "pdf",
});
return cellsApi.cellsWorkbookPutConvertWorkbook(req)
.then((result) => {
expect(result.body.toString().length).to.greaterThan(0);
});
});
});
});
Tests
Tests contain various examples of using the SDK.
Contact Us
Your feedback is very important to us. Please feel free to contact via
Resources