Skip to content

Tiny CLI tool to export content from Notion to markdown

Notifications You must be signed in to change notification settings

umd-mith/export-notion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

export-notion

Export data stored in Notion for a static website

This software is early-stage and not intended as a general-purpose Notion API client

Usage

You'll need a Notion Internal Integration Token. The best way to use this is to set it as an environment variable called NOTION_API_KEY.

Install in a virtual environment of your choice using the tarball:

pip install PATH/TO/TARBALL

Basic usage is to provide a Notion database ID. Output will be written to current directory

export-notion-pages [OPTIONS] $DATABASE_ID

The CLI comes with some help documentation:

export-notion-pages --help

Development

1. poetry install
2. poetry shell

About

Tiny CLI tool to export content from Notion to markdown

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages