The Noteable API interface
Project description
Origami
A library capturing message patterns and protocols speaking to Noteable's APIs
Install | Getting Started | License | Code of Conduct | Contributing
Intro to Origami
Origami is our paper folding library for talking to Noteable notebooks. This is where we describe the full breadth of API calls and access patterns in async Python for rich programmatic access to the platform. You can use the platform for free with a quick signup.
Requirements
Python 3.8+
Installation
Poetry
poetry add noteable-origami
Pip
pip install noteable-origami
Getting Started
Get your API token from Noteable Within user settings. Within user settings, go to the API Token page, and generate a new token.
Copy the value
from origami.client import NoteableClient
token = 'ey...' # Your user API token
async with NoteableClient(api_token=token) as client:
await client.ping_rtu()
Token via Environment Variable
Alternatively you can set the environment variable:
NOTEABLE_TOKEN=xxxx
and skip assigning the token:
async with NoteableClient() as client:
await client.ping_rtu()
Custom Domain
NOTEABLE_TOKEN=xxxx
NOTEABLE_DOMAIN=app.noteable.io
And the client will use that particular domain, for custom deployment location. This value defaults to app.noteable.io
.
async with NoteableClient() as client:
await client.ping_rtu()
Contributing
See CONTRIBUTING.md.
Open sourced with ❤️ by Noteable for the community.
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
Hashes for noteable_origami-0.0.21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba9ae5d1e31c0714e5828f015a7355c023c4d5b68bdc99391d6ada3188cba7cb |
|
MD5 | 6ae3644b5a1b6a4a89b11e83d3790a06 |
|
BLAKE2b-256 | eed9bf42e122994722ea9ceca68be892a020414d103e603a72da3445d2dad611 |