All Projects → splitbee → Notion Api Worker

splitbee / Notion Api Worker

Licence: mit
Notion as CMS with easy API access

Programming Languages

typescript
32286 projects

Labels

Projects that are alternatives of or similar to Notion Api Worker

Api
A high-performance RESTful API layer designed in support of API-first development and COPE. Connects your content to the world
Stars: ✭ 180 (-77.67%)
Mutual labels:  api, cms
Cosmicjs Node
The official JavaScript client for Cosmic. Use it to power content server-side, in the browser and in native apps.
Stars: ✭ 252 (-68.73%)
Mutual labels:  api, cms
Tensei
🚀 Content management and distribution with a touch of elegance.
Stars: ✭ 217 (-73.08%)
Mutual labels:  api, cms
Nodejs Website Boilerplate
A Node.js website boilerplate that satisfies some common website requirements.
Stars: ✭ 154 (-80.89%)
Mutual labels:  api, cms
V8 Archive
Directus Database API — Wraps Custom SQL Databases with a REST/GraphQL API
Stars: ✭ 486 (-39.7%)
Mutual labels:  api, cms
Payload
Headless CMS and Application Framework built with Node.js, React and MongoDB
Stars: ✭ 154 (-80.89%)
Mutual labels:  api, cms
Strapi Sdk Javascript
🔌 Official JavaScript SDK for APIs built with Strapi.
Stars: ✭ 247 (-69.35%)
Mutual labels:  api, cms
Strapi
🚀 Open source Node.js Headless CMS to easily build customisable APIs
Stars: ✭ 41,786 (+5084.37%)
Mutual labels:  api, cms
App
Directus Admin Application — An Intuitive WebApp for Managing Database Content
Stars: ✭ 464 (-42.43%)
Mutual labels:  api, cms
Flextype
Hybrid Content Management System with the freedom of a headless CMS and with the full functionality of a traditional CMS
Stars: ✭ 436 (-45.91%)
Mutual labels:  api, cms
Directus
Open-Source Data Platform 🐰 — Directus wraps any SQL database with a real-time GraphQL+REST API and an intuitive app for non-technical users.
Stars: ✭ 13,190 (+1536.48%)
Mutual labels:  api, cms
Qor
QOR is a set of libraries written in Go that abstracts common features needed for business applications, CMSs, and E-commerce systems.
Stars: ✭ 4,905 (+508.56%)
Mutual labels:  api, cms
Next
Directus is a real-time API and App dashboard for managing SQL database content. 🐰
Stars: ✭ 111 (-86.23%)
Mutual labels:  api, cms
Core
The Form Tools Core.
Stars: ✭ 156 (-80.65%)
Mutual labels:  api, cms
Rageframe2
一个基于Yii2高级框架的快速开发应用引擎
Stars: ✭ 1,553 (+92.68%)
Mutual labels:  api, cms
Core
🧿 Bolt 4 core
Stars: ✭ 243 (-69.85%)
Mutual labels:  api, cms
Parvula
An extremely simple & flexible CMS generated from flat files with a complete RESTful API —
Stars: ✭ 76 (-90.57%)
Mutual labels:  api, cms
Mezzanine Api
RESTful web API for Mezzanine CMS
Stars: ✭ 84 (-89.58%)
Mutual labels:  api, cms
Feather
Feather is a modern Swift-based content management system powered by Vapor 4.
Stars: ✭ 374 (-53.6%)
Mutual labels:  api, cms
Cms
Decoupled CMS for any Laravel app, gain control of: pages, blogs, galleries, events, images, custom modules and more.
Stars: ✭ 498 (-38.21%)
Mutual labels:  api, cms

Notion API Worker API Version

A serverless wrapper for the private Notion API. It provides fast and easy access to your Notion content. Ideal to make Notion your CMS.

We provide a hosted version of this project on https://notion-api.splitbee.io. You can also host it yourself. Cloudflare offers a generous free plan with up to 100,000 request per day.

Use with caution. This is based on the private Notion API. We can not gurantee it will stay stable.

Features

🍭 Easy to use – Receive Notion data with a single GET request

🗄 Table Access – Get structured data from tables & databases

Blazing Fast – Built-in SWR caching for instant results

🛫 CORS Friendly – Access your data where you need it

Use Cases

  • Use it as data-source for blogs and documentation. Create a table with pages and additional metadata. Query the /table endpoints everytime you want to render a list of all pages.

  • Get data of specific pages, which can be rendered with react-notion

Endpoints

Load page data

/v1/page/<PAGE_ID>

Example (Source Notion Page)

https://notion-api.splitbee.io/v1/page/2e22de6b770e4166be301490f6ffd420

Returns all block data for a given page. For example, you can render this data with react-notion.

Load data from table

/v1/table/<PAGE_ID>

Example (Source Notion Page)

https://notion-api.splitbee.io/v1/table/20720198ca7a4e1b92af0a007d3b45a4

Authentication for private pages

All public pages can be accessed without authorization. If you want to fetch private pages there are two options.

  • The recommended way is to host your own worker with the NOTION_TOKEN environment variable set. You can find more information in the Cloudflare Workers documentation.
  • Alternatively you can set the Authorization: Bearer <NOTION_TOKEN> header to authorize your requests.

Receiving the token

To obtain your token, login to Notion and open your DevTools and find your cookies. There should be a cookie called token_v2, which is used for the authorization.

Credits

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].