Skip to main content

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

  1. Follow instructions here to create an integration.
  2. Grant integration access to databases (see above)
  3. 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.1.tar.gz (1.6 kB view details)

Uploaded Source

File details

Details for the file notionshell-0.1.tar.gz.

File metadata

  • Download URL: notionshell-0.1.tar.gz
  • Upload date:
  • Size: 1.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.10

File hashes

Hashes for notionshell-0.1.tar.gz
Algorithm Hash digest
SHA256 11e1e89f07e1ec3764ad969b3df9d520faead30f086807bc097e5eb3f3a9712c
MD5 2d9eeabe39855b2571a27162b0846dec
BLAKE2b-256 e70a3c208b76d9571fc696fdac7959cc19bd7c0af8960013b67bb1128884e399

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page