Skip to main content

Python

Install

pip install singlebasecloud

Usage

from singlebasecloud import create_client

API_URL = "https://api.singlebaseapis.com"
ACCESS_KEY = "xxxxx"

singlebase = create_client(api_url=API_URL, access_key=ACCESS_KEY)

Run

name = "Jones"

action = {
"query": "SELECT * FROM articles"
}

res = sbc_dispatch(action)
if res.ok:
print(res.data)