🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

qbase

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qbase

Fast, concise implementation of select Quickbase API functions

1.0.3
latest
Source
npm
Version published
Weekly downloads
1.9K
-19.34%
Maintainers
1
Weekly downloads
 
Created
Source

QuickBase JavaScript Library for Node

Installation

npm install qbase

Usage

Populate the config object in the format seen below and pass it into the Base constructor. The "tables" object should be filled with any tables in your application you would like to interact with.

See further examples in "example.js".

var Base = require("qbase");

var config = {
  // apptoken parameter is optional
  token: "",
  realm: "xyzcorp",
  username: "john@xyzcorp.com",
  password: "password",
  databaseId: "bj3xvxtzw",
  tables: {
    customers: {
      dbid: "bj3xvxt6t",
      rid: 3
    }
  }
};

var db = new Base(config, function(){
  // subsequent calls must be made within this callback
  db.customers.all({ clist: ["rid"] }, function(response){
    // response == query results
  });
});

Keywords

quickbase

FAQs

Package last updated on 21 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts