You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A lightweight, typed, promise-based Quickbase API, autogenerated from the OpenAPI spec
7
7
8
-
Written in TypeScript, targets Nodejs and the Browser
8
+
Written in TypeScript, targets Nodejs and the Browser.
9
9
10
-
This library targets the new RESTful JSON-based API, not the old XML-based API. If you want to use the old XML-based API, then please use [v2.x](https://github.com/tflanagan/node-quickbase/tree/v2.x/) of this library.
10
+
A large chunk of this library is generated based on the OpenAPI definition found at [https://developer.quickbase.com/](https://developer.quickbase.com/).
11
+
12
+
All the types and public methods are generated and kept updated directly from the OpenAPI definition.
13
+
14
+
You can find this code in `src/code-generation/`.
15
+
16
+
This library targets the RESTful, JSON-based API, not the XML-based API. If you want to use the XML-based API, then please use [v2.x](https://github.com/tflanagan/node-quickbase/tree/v2.x/) of this library.
11
17
12
18
```
13
19
IE 11 Users, if you are receiving this error:
@@ -27,10 +33,7 @@ Install
27
33
-------
28
34
```
29
35
# Install
30
-
$ npm install quickbase
31
-
32
-
# Also available via Bower
33
-
$ bower install quickbase
36
+
$ npm install --save quickbase
34
37
```
35
38
36
39
Documentation
@@ -77,7 +80,7 @@ var quickbase = new QuickBase({
77
80
});
78
81
79
82
// Using a Temporary Token
80
-
quickbase.getTempToken({
83
+
quickbase.getTempTokenDBID({
81
84
dbid:'xxxxxxxxx'
82
85
}).then(function(results){
83
86
returnquickbase.getApp({
@@ -93,9 +96,29 @@ quickbase.getTempToken({
93
96
Debugging
94
97
---------
95
98
96
-
Server-side, set the environment variable `DEBUG` to `quickbase:*`
99
+
Server-side, set the environment variable `DEBUG` to `quickbase:*`.
100
+
101
+
In the browser, open the dev console and enter: `window.localStorage.debug = 'quickbase:*'`.
97
102
98
-
In the browser, open the dev console and enter: `window.localStorage.debug = 'quickbase:*'`
103
+
The used debug namespaces: `main`, `request`, `response` and for development: `build` and `generate`.
104
+
105
+
Development
106
+
-----------
107
+
108
+
```
109
+
# Fork and clone the repository
110
+
$ yarn install
111
+
$ git checkout -b feature/branch
112
+
# Download the latest OAS definition and replace in `assets/QuickBase_RESTful_API.json`
0 commit comments