Skip to main content

A kit for Notion based on Notion Python SDK.

Project description

NotionLab

NotionLab is an easy-to-use Notion toolkit based on the Notion Python SDK. Designed to tap the maximum potential of the Notion API.

Installation

pip install NotionLab

Usage

import os
from notion_lab.converter import HtmlCvt

cvt = HtmlCvt(api_token=os.environ["NOTION_API_TOKEN"],
              block_id="52a812df2b5e444285af7ebbd5a135bc",
              is_page=True
              )

print(cvt.convert())

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

NotionLab-1.1.4.tar.gz (6.6 kB view hashes)

Uploaded Source

Built Distribution

NotionLab-1.1.4-py3-none-any.whl (11.2 kB view hashes)

Uploaded Python 3

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