Partial notion commad line. Introduction to api, using official library.
Project description
notionshell
Another partially implemented notion command line clients.
- Not feature complete, partially implemented
- Uses official notion library
- Patches welcome
- "Highish" level - not just a close wrapper around the api
- Still fairly general
Hopefully this is quite easy to extend.
Usage
- List databases:
notionshell database list
- Get page in a database:
notionshell database pages $ID
Authetication
- Follow instructions here to create an integration.
- Grant integration access to databases (see above)
- Set
NOTION_API_KEY
environment variable to integration token
Prior work
- notions Could upload pages or block, was not using notion library
- notion-cli Could not list databases, was not using notion library
- clotion In typescript, no stars on github at time of writing
- There are various notion libraries for different languages
- There is an HTTP client that is quite usable.
Upcoming work
- Features as I use them
- One day I'll create something to sync emacs org-mode to notion
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
notionshell-0.4.tar.gz
(1.7 kB
view details)
File details
Details for the file notionshell-0.4.tar.gz
.
File metadata
- Download URL: notionshell-0.4.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36af049d27f0dfd8d90ed2da2e498540c8e9aefc288b25adad17f4d69ada0061 |
|
MD5 | ff7f7d2c10590393c652f0e886a9809c |
|
BLAKE2b-256 | ae758fdcd20fa535777c88fd98a57c84c3d19e2b6d4972d9425e890062e1222d |