Browse Source

docs: add sdk

Signed-off-by: Wing-Kam Wong <wingkwong.code@gmail.com>
pull/1671/head
Wing-Kam Wong 3 years ago
parent
commit
5326078302
  1. 26
      packages/noco-docs/content/en/developer-resources/sdk.md

26
packages/noco-docs/content/en/developer-resources/sdk.md

@ -0,0 +1,26 @@
---
title: 'SDK'
description: 'SDK'
position: 1400
category: 'Developer Resources'
menuTitle: 'SDK'
---
We provide SDK for users to integrated with their applications. Currently only Javascript is supported.
### SDK For Javascript
```js
import { Api } from 'nocodb-sdk'
const api = new Api({
baseURL: 'http://<HOST>:<PORT>',
headers: {
'xc-auth': '<AUTH_TOKEN>'
}
})
// await api.meta.something()
// await api.data.something()
```
Loading…
Cancel
Save