Python SDK for the SpatioAPI. Generated from the official OpenAPI spec.
Project description
Spatio Python SDK
The official Python client for the SpatioAPI. Notes, sheets, slides, tasks, mail, calendar, channels, DMs, files, contacts, repos, agents, and federated search.
pip install spatio-sdk
from spatio import ApiClient, Configuration
from spatio.api import NotesApi
client = ApiClient(Configuration(
host="https://api.spatio.app",
access_token="pat_...",
))
envelope = NotesApi(client).list_notes()
print(envelope.items)
Authentication
Two paths.
Personal Access Token. Mint one at Settings → Tokens in Spatio Desktop and pass it as access_token. The right choice for scripts, automations, and your own backend services.
OAuth 2.1 + OpenID Connect. Build a "Sign in with Spatio" flow for your own product. The OIDC discovery document at /.well-known/openid-configuration drops into Authlib, oidcrp, and every other conformant RP library.
What you can build
Spatio's API is designed to be the substrate someone could build their own Spatio Desktop on top of: realtime collaboration via Yjs, federated cross-platform search, OAuth 2.1 dynamic client registration, OpenID Connect sign-in, and a self-hosted agent runtime. The OpenAPI spec is the canonical reference.
Links
About this package
Generated from the SpatioAPI OpenAPI spec on every release. PRs against generated files will be overwritten on the next release; file issues here for bugs in the SDK shape, or report API problems through Spatio Support.
Licensed under MIT.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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
File details
Details for the file spatio_sdk-0.0.2.tar.gz.
File metadata
- Download URL: spatio_sdk-0.0.2.tar.gz
- Upload date:
- Size: 368.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f374e7abc599d34fdd0a784a95da42058cf870d9b86688b3f2336dc8c956f3dc
|
|
| MD5 |
fe8acef9063e5ee68db408263936e1f6
|
|
| BLAKE2b-256 |
eb12eb6ea04ab358f5bae6a09fc9f48b7142e64b9a39d00648fef3c9dbafbc1b
|
File details
Details for the file spatio_sdk-0.0.2-py3-none-any.whl.
File metadata
- Download URL: spatio_sdk-0.0.2-py3-none-any.whl
- Upload date:
- Size: 871.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1adbdfadc63156835106bebda7339508cc74f7817ee9cff3c204b567cb5659e0
|
|
| MD5 |
d0d3d9063c0dba15706d4ea8865eac9f
|
|
| BLAKE2b-256 |
19e1f56b7cb0984d240c4d4829a0492d26f2eab75bc10718f02757f5e758476d
|