Skip to content

Commit 7ae061e

Browse files
feat(api): api update
1 parent ba76c1b commit 7ae061e

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 18
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lemma%2Flemma-a7a66ada4907eaf7c12f8686ea23314984295b2c28a8662c2c7bb5f74deeea08.yml
3-
openapi_spec_hash: be8496356007ef4d20617cc2fea77f47
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lemma%2Flemma-276d426bbfd4d9743a75ddaf84f9587a6f4bb36db878432f87e3ed86d871092a.yml
3+
openapi_spec_hash: c8592cad3d823e3e370a06c675022636
44
config_hash: 3911423d0a218a9e0813f5fe6370ae95

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ The full API of this library can be found in [api.md](api.md).
2222
```js
2323
import Lemma from '@uselemma/api';
2424

25-
const client = new Lemma({
26-
apiKey: process.env['LEMMA_API_KEY'], // This is the default and can be omitted
27-
});
25+
const client = new Lemma();
2826

2927
const datasets = await client.datasets.list();
3028
```
@@ -37,9 +35,7 @@ This library includes TypeScript definitions for all request params and response
3735
```ts
3836
import Lemma from '@uselemma/api';
3937

40-
const client = new Lemma({
41-
apiKey: process.env['LEMMA_API_KEY'], // This is the default and can be omitted
42-
});
38+
const client = new Lemma();
4339

4440
const datasets: Lemma.DatasetListResponse = await client.datasets.list();
4541
```

0 commit comments

Comments
 (0)