Quickbase-Python-SDK
#RMI Usage Notes -Should not be used on a standalone basis. Instead, integrate a release into the API or project that it is required for, using pipenv or other package manager.
Python bindings for the QuickBase API
QBConn variables:
error: the numerical error code returned by an API call. 0 is no error, negative values are internal to this library
tables: a dictionary containing tablename:tableID pairs
[constructor] QBConn(QB_URL,QB_APPID, USER_TOKEN):
Makes a connection to the QuickBase specified by QB_URL and QB_APPID. As of 0.4.0, *requires* a USER_TOKEN; will not authenticate with a ticket
Note: QB_URL should have a trailing slash. ex. "https://intuitcorp.quickbase.com/db/";
provide_tables: exposes tables to public api
sql(querystr): Performs a query() after translating a simple SQL-style string to QuickBase's query format
Example: qb.sql("SELECT * FROM users WHERE name`EX`John\_Doe OR role`EX`fakeperson") #The \_ represents a space. This is a very basic function that doesn't use state machines. Note: field and table names will not have spaces
Example: qb.sql("SELECT firstname|lastname FROM users WHERE paid`EX`true ORDER BY lastname ASC LIMIT 100")
Example: qb.sql("DELETE FROM assets WHERE value`BF`0")
Please contribute any improvents you make on this function back to this repo. It would make life so much easier for all QuickBase+Python users :)
request(params,url_ext):
Takes a dict of param:value pairs, adds ticket, token, and realm (if specified) and makes an API call to the base URL+url_extension
getFields(tableID):
Returns a dict containing the fields of a table as fieldname:fieldID pairs
addRecord(tableID,data):
Adds a record with data specified by the data dict of fieldname:value pairs to tableID
editRecord(tableID,rid,newdata[,options]):
Updates a record (rid) in table (tableID) with the data given by newdata fieldname:value pairs
deleteRecord(tableID,rid):
Deletes record specified by rid from table specified by tableID
purgeRecords(tableID,query):
Deletes records from tableID that match the QuickBase-style query
_getTables():
Returns a dict containing a QuickBase app's tables as tablename:tableID pairs. This is run automatically after a successful authenticate call
query(tableID,query):
Returns a list of dicts containing fieldname:value pairs that represent rows returned by the query. record ID will always be specified by the "rid" key
Metadata
Release files for rmi-qb-sdk 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rmi_qb_sdk-0.4.1.tar.gz | 6.5 kB | Without provenance | Details for rmi_qb_sdk-0.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rmi_qb_sdk-0.4.1-py3-none-any.whl | Python 3 | none | any | Details for rmi_qb_sdk-0.4.1-py3-none-any.whl |
Total release size: 14.5 kB
Release files / rmi_qb_sdk-0.4.1.tar.gz
| Download URL | rmi_qb_sdk-0.4.1.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
05832957f171a7b95be45b3ec97b1b687fb75616eee7caeefbaabd9200c3a131
|
|
BLAKE2b-256 checksum How to use checksums |
ef4b284e7d610aea96d41a02d37bbbf496806acb867fa79b92e66ea4a5f3bf65
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.4.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.5
|
Release files / rmi_qb_sdk-0.4.1-py3-none-any.whl
| Download URL | rmi_qb_sdk-0.4.1-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
99625abd224bd39972330c86705c5e3c11351bde74b6f17809a633e84861ea7f
|
|
BLAKE2b-256 checksum How to use checksums |
8639b51c6d2409927c6319d93249ebfba7d0f9e311a3593caf925c5f7709e614
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.4.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.5
|
Security for rmi-qb-sdk 0.4.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.