Get Text Items from an Excel Worksheet

This REST API reads a worksheet’s text items in an Excel file.

REST API

https://api.aspose.cloud/v3.0/cells/{name}/worksheets/{worksheet}/textItems

Request

GET https://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/textItems

Parameters

The request parameters are as follows:

Parameter Name Type Location Required Description
name string path Yes Workbook file name.
sheetName string path Yes Name of the worksheet.
folder string query No Path to the folder that contains the workbook.
storageName string query No Name of the Aspose Cloud storage.

The OpenAPI Specification defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.

You can use the cURL command‑line tool to access Aspose.Cells web services easily. The following example shows how to make calls to the Cloud API with cURL.

Error Handling

The API can return the following HTTP status codes:

  • 400 Bad Request – Missing or invalid parameters.
  • 401 Unauthorized – Access token is absent, expired, or invalid.
  • 404 Not Found – The specified workbook or worksheet does not exist.
  • 500 Internal Server Error – An unexpected server‑side error occurred.

Error responses are returned in JSON format, for example:

{
  "Error": {
    "Code": "InvalidToken",
    "Message": "The access token is invalid or has expired."
  }
}

Cloud SDK Family

Using an SDK is the best way to speed up development. An SDK handles low‑level details and lets you focus on your project tasks. Please check out the GitHub repository for a complete list of Aspose.Cells Cloud SDKs.

The following code examples demonstrate how to make calls to Aspose.Cells web services using various SDKs: