mirror of https://github.com/nocodb/nocodb
Wing-Kam Wong
3 years ago
1 changed files with 26 additions and 0 deletions
@ -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…
Reference in new issue