Skip to content

Commit 9ce330b

Browse files
committed
Change Javascript mentions to TypeScript
1 parent ea90a2c commit 9ce330b

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

api-reference/api-services/sdk.mdx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
2-
title: Python and JavaScript SDKs
3-
description: This documentation covers the usage of the Python and JavaScript SDKs for interacting with the Unstructured API.
2+
title: Python and TypeScript SDKs
3+
description: This documentation covers the usage of the Python and TypeScript SDKs for interacting with the Unstructured API.
44
---
55

66
The [Python](https://github.com/Unstructured-IO/unstructured-python-client) and
7-
[JavaScript](https://github.com/Unstructured-IO/unstructured-js-client)
7+
[TypeScript](https://github.com/Unstructured-IO/unstructured-js-client)
88
SDK clients allow for easy interaction with the Unstructured API. Whether you're using the
99
free Unstructured API, the SaaS Unstructured API, Unstructured API on Azure/AWS or your local
10-
deployment of Unstructured API, you can access the API using the Python or JavaScript SDK.
10+
deployment of Unstructured API, you can access the API using the Python or TypeScript SDK.
1111

1212
## Installation
1313

@@ -73,7 +73,7 @@ deployment of Unstructured API, you can access the API using the Python or JavaS
7373
# Handle the response
7474
pass
7575
```
76-
```javascript JavaScript
76+
```javascript TypeScript
7777
import { openAsBlob } from "node:fs";
7878
import { UnstructuredClient } from "unstructured-client";
7979
import { Strategy, ChunkingStrategy } from "unstructured-client/sdk/models/shared";
@@ -132,7 +132,7 @@ deployment of Unstructured API, you can access the API using the Python or JavaS
132132
except SDKError as e:
133133
print(e)
134134
```
135-
```javascript JavaScript (SDK <v0.10.6)
135+
```javascript TypeScript (SDK <v0.10.6)
136136
import { UnstructuredClient } from "unstructured-client";
137137
import { PartitionResponse } from "unstructured-client/dist/sdk/models/operations";
138138
import * as fs from "fs";
@@ -178,7 +178,7 @@ deployment of Unstructured API, you can access the API using the Python or JavaS
178178
server_url="YOUR_API_URL",
179179
)
180180
```
181-
```javascript JavaScript
181+
```javascript TypeScript
182182
const client = new UnstructuredClient({
183183
security: { apiKeyAuth: "YOUR_API_KEY" },
184184
serverURL: "YOUR_API_URL",
@@ -217,7 +217,7 @@ deployment of Unstructured API, you can access the API using the Python or JavaS
217217
)
218218
res = client.general.partition(req)
219219
```
220-
```javascript JavaScript
220+
```javascript TypeScript
221221
client.general.partition({
222222
partitionParameters: {
223223
files: {
@@ -258,7 +258,7 @@ deployment of Unstructured API, you can access the API using the Python or JavaS
258258
)
259259
)
260260
```
261-
```javascript JavaScript
261+
```javascript TypeScript
262262
const client = new UnstructuredClient({
263263
security: { apiKeyAuth: "YOUR_API_KEY" },
264264
serverURL: "YOUR_API_URL",
@@ -315,7 +315,7 @@ deployment of Unstructured API, you can access the API using the Python or JavaS
315315
## Parameters & examples
316316

317317
#### Parameter names
318-
The parameter names used in this document are for the JavaScript SDK, which follow camelCase
318+
The parameter names used in this document are for the TypeScript SDK, which follow camelCase
319319
convention (while the Python SDK uses snake_case). Other than this difference in naming convention,
320320
the names used in the SDKs are the same across all methods.
321321

0 commit comments

Comments
 (0)