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
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.2.2.tar.gz
(3.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
pyqb-0.2.2-py2-none-any.whl
(4.0 kB
view details)
File details
Details for the file pyqb-0.2.2.tar.gz.
File metadata
- Download URL: pyqb-0.2.2.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e80f6633712da37b276b455980e3bfab97e302fb3fa8ec7535cd09304011f027
|
|
| MD5 |
0cb3813e1b7fe39bfcd724b26322fd34
|
|
| BLAKE2b-256 |
9ee3bd67562c4013d684f23013c42c4755424de27691c9b0b672b2db7960ab72
|
File details
Details for the file pyqb-0.2.2-py2-none-any.whl.
File metadata
- Download URL: pyqb-0.2.2-py2-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0cd5fb3676379289b58bb490fe1774cc152587b4f5934ea5ac9a4634c2da0358
|
|
| MD5 |
814d3a4a9058a508746d1babea0409a8
|
|
| BLAKE2b-256 |
9795c53a280a5b4dac1144ed59c3877f0ead694c02616f7aa09695b9f9557e50
|