mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
447 B
27 lines
447 B
3 years ago
|
---
|
||
|
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()
|
||
|
```
|
||
|
|