quickbaseapi

1.0.0 • Public • Published

The Node.js module for Quickbase APIs.

Installation

$ npm i --save quickbaseapi _ Set env variable AUTHORIZATION with token like AUTHORIZATION=QB-USER-TOKEN xxxxxxxxxxxxxxxx_

In Node.js:

const { App, Table, Report, Field, Record, Auth } = require('quickbaseapi');

Default options

let defaultOptions = { appId: appId, realm: realm, method: "GET", dbid: appId };

Methods

APP

apps

Table

createTable,

customoptions = { body: body, method: "POST" };

getAppTables,

getTable,

customoptions = { tableId: table.id, };

updateTable,

customoptions = { body: body, method: "POST", tableId: table.id, }

deleteTable

customoptions = { method: "DELETE", tableId: table.id, }

Report

getReports,

customoptions = { tableId: table.id, }

getReport,

customoptions = { reportId: reportId, tableId: tableId }

runReport,

customoptions = { reportId: reportId, tableId: tableId, method: "POST" },

Field

getFields,

tableId: tableId }

createField,

{ method: "POST", tableId: tableId, body: body }

deleteFields,

{ method: "DELETE", tableId: tableId, body: body }

getField,

{ tableId: tableId, fieldId: fieldId }

updateField,

{ method: "POST", tableId: tableId, body: body, fieldId: fields[1].id }

usageOfFields,

{ tableId: tableId }

usageOfField,

{ tableId: tableId, fieldId: fieldId }

Record

insertRecords,

{ method: "POST", body: body }

UpdateRecords,

{ method: "POST", body: body }

deleteRecords,

{ method: "DELETE", body: body }

queryData,

{ method: "POST", body: body }

Auth

token

Package Sidebar

Install

npm i quickbaseapi

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

7.66 kB

Total Files

10

Last publish

Collaborators

  • mahinder