İçeriğe geç
TakoAPI
Becerilere dön

better-notion

tyler6204 tarafından

Notes & PKM
—Henüz değerlendirilmedi
Puanınız

Özet

Full CRUD for Notion pages, databases.

Açıklama

Bu Beceri Ne Yapar

Full CRUD for Notion pages, databases, and blocks via the Notion REST API. Supports create, read, update, delete, search, and filtered database queries. API key is stored locally and passed as a bearer token on each request.

Enables scripted or automated Notion changes without opening the app, making bulk updates and pipeline integrations practical.

Ne Zaman Kullanılır

  • Add a new task entry to a Notion project database
  • Query all records in a database filtered by status or property
  • Append text blocks to an existing Notion page
  • Search across all Notion content by keyword
  • Update a page property like status, date, or checkbox

Örnek İş Akışı

GİRİŞ

User asks: Create a new task called 'Review PR #42' with status Active in my Tasks database

AJAN
  1. 1

    Search Notion for the Tasks database to retrieve its data_source_id

  2. 2

    Construct a create-page request with the title and Status select property set to Active

  3. 3

    POST to /v1/pages with the database parent and properties payload

  4. 4

    Return the new page ID and URL from the API response

ÇIKIŞ

New Notion page 'Review PR #42' created in the Tasks database with Status set to Active

Gereksinimler

  • Notion API key generated from the Notion integrations settings page
  • Notion integration connected and shared with the target pages or databases in the Notion UI

Kurulum

clawhub install tyler6204/better-notion

CLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.

Bağlantılar