Import Data into Excel files and Export data from Excel files.
Aspose.Cells Cloud API supports importing data from a variety of data sources, and can export data from Excel, charts, and charts to different formats, including Excel, CSV, PDF, HTML, PNG, etc. This makes data management and sharing simple and efficient.
How to import data from various data sources
Importing data into an Excel file is a complex process. Many factors contribute to the complexity and therefore, should be taken into account during the export process. The ability to imports kinds of formats and types of data into the file with a precise professional quality is a top feature of Aspose.Cells Cloud.
Import Data APIs Information
The following APIs to import data into an Excel file or multiple Excel files is provided:
API | Description |
---|---|
POST /cells/impport | Import data into Excel files without using storage. |
POST /cells/{name}/impportdata | Import data into the Excel file with using storage. |
Request Parameters
Without using storage
Parameter Name | Type | Path/Query String/HTTPBody | Description |
---|---|---|---|
file | file | formData | File to upload |
ImportOption | ImportOptions | HTTPBody | IntArray/DoubleArray/StringArray/TwoDimensionIntArray/TwoDimensionDoubleArray/TwoDimensionStringArray/BatchData/CSVData/Picture |
With using storage
Parameter Name | Type | Path/Query String/HTTPBody | Description |
---|---|---|---|
name | string | path | |
folder | string | query | |
storageName | string | query | storage name. |
importData | body |
Import data option parameter
The important parameters are described in the following table:
How to export Excel objects to various file formats
If you have originally created an Excel file in a certain format, like XLS, XLSX, XLSB, and CSV, you may sometimes find it useful to convert the excel file to another format so you can take advantage of special features provided by it. For example, you may want to export an excel file to PDF to protect your contents from any unauthorized modifications and make it easy to read and share simultaneously.
Excel object export is a complex process. Many factors contribute to the complexity and therefore, should be taken into account during the export process. The ability to export Excel object to one format file with a precise professional quality is a top feature of Aspose.Cells Cloud.
It works perfectly for workbook, chart, shape and picture exported from excel file. You can export formats: XLS, XLSX, XLSB, CSV, TSV, XLSM, ODS, TXT. The export-only formats: PDF, OTS, XPS, DIF, PNG, JPEG, BMP, SVG, TIFF, EMF, NUMBERS, FODS.
The request is an HTTP request with multipart content (see RFC 2046 or RFC 1341). The first part of the multipart content contains the data file and the second contains save options.
The REST API export
workbook and internal objects to different format file.
Export API Information
POST https://api.aspose.cloud/v3.0/cells/export
The request parameters are:
Parameter Name | Type | Path/Query String/HTTPBody | Description |
---|---|---|---|
file | file | formData | File to upload |
objectType | string | query | object type (workbook/worksheet/chart/shape/picture/listobject/oleobject) |
format | string | query | File Format |
The OpenAPI Specification defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.
You can use cURL command-line tool to access Aspose.Cells web services easily. The following example shows how to make calls to Cloud API with cURL.
How to call import and export APIs
The following articles explain each API how to call in detail and contain cURL and SDK Examples of each API:
- How to import data into Excel files without using storage.
- How to import data into Excel files with using storage.
- How to import Batch Data into Excel Worksheet
- How to import CSV Data into Excel Worksheet
- How to import picture into Excel Worksheet
- How to import Integer Array into Excel Worksheet
- How to import Double Array into Excel Worksheet
- How to import String Array into Excel Worksheet
- How to import 2 Dimension Integer Array into Excel Worksheet
- How to import 2 Dimension Double Array into Excel Worksheet
- How to import 2 Dimension String Array into Excel Worksheet
- Export Excel chart to different file format
- Export Excel list-object to different file format
- Export Excel ole-object to different file format
- Export Excel picture to different file format
- Export Excel shape to different file format
- Export Excel workbook to different file format
- Export Excel worksheet to different file format