Skip to main content

Quickbase API Python Wrapper

Project description

pyqb

A python library for the Quickbase API. For more information about the Quickbase API, please see http://www.quickbase.com/api-guide/index.html

Requirements

  • python 2.6+

  • xmltodict

  • requests

Installation

$ pip install pyqb

Usage

Create the client

import pyqb
# def Client(username=None, password=None, url="http://www.quickbase.com", database=None):
qbc = pyqb.Client(username='myusername', password='mypassword')

DoQuery

# doquery(query=None, qid=None, qname=None, database=None, fields=None, fmt=False, rids=False):
qbc.doquery(qid=64)
qbc.doquery(query='{"6".EX."myval"}', database='asdfasdf')
qbc.doquery(qid=64, fields=["3", "4"], fmt=True, rids=False)

EditRecord

# editrecord(rid=None, database=None, fields=None, update_id=None)
f = { "6": "newvalue" }
res = qbc.editrecord(rid='18081', database='asdfasdf', fields=f)

AddRecord

# def addrecord(database=None, fields=None)
f = { "hostname": "myhost", "7": "1.2.3.4" }
res = qbc.addrecord(database='asdfasdf', fields=f)

API Support

  • DoQuery

  • EditRecod

  • GetNumRecords

  • AddField

Authors

Steven Hajducko (steven_hajducko@intuit.com)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyqb-0.1.6.tar.gz (3.1 kB view hashes)

Uploaded source

Built Distribution

pyqb-0.1.6-py2.py3-none-any.whl (3.8 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page