mirror of
https://github.com/zhigang1992/notion-api-worker.git
synced 2026-01-12 17:32:42 +08:00
d6cd8e4403c65ea28f2c2dbf2e4f561c58e0db9c
Co-authored-by: Timo <timo.lins@gmail.com>
notion-cloudflare-worker
A serverless layer on top of the private Notion API. It leverages Cloudflare Workers, to provide fast and easy access to all your Notion content.
This package might become obsolete, once the official Notion API arrives.
Features
🍭 Easy to use – Receive Notion data with a single GET request ✨ Fast CDN – Leverage the global Cloudflare CDN 🛫 CORS Friendly – Access your data where you need it 🗄 Table Access – Get structured data from tables & databases
Use Cases
- Use a table to manage posts for your blog
Endpoints
We provide a hosted version of this project on https://notion.splitbee.io/. You can also host your own. Cloudflare offers a generous free plan with up to 100,000 request per day.
Get data from a page - /v1/page/<PAGE_ID>
Returns all block data for a given page.
For example, you can render this data with react-notion.
Get parsed data from table /v1/table/<PAGE_ID>
Credits
- Timo Lins – Idea, Documentation
- Tobias Lins – Code
Description
Languages
TypeScript
100%