📚
FÍSICA UB - WIKIBLOG
Sobre aquesta webFes-te editor/a!Contacte
㊙️

API No Oficial de Notion

En Python

Notion-sdk-py (la més completa)

Tutorials
Write Notion Page and Block Data to JSON File with Node.js Script | Sean C Davis
Write a Node.js script that connects to a Notion database and writes its page and block content to a local JSON file.
Write Notion Page and Block Data to JSON File with Node.js Script | Sean C Davis
https://www.seancdavis.com/posts/write-notion-page-and-block-data-to-json-file-with-nodejs-script/
Write Notion Page and Block Data to JSON File with Node.js Script | Sean C Davis
Add text and images to Notion via the official API and Python - tonisives
Notion has recently released the official API. With some restrictions, it allows coders to add, update and delete blocks from their pages. There is an official JavaScript client, but nothing for Python. This post describes how to update Notion pages with Python. It will use REST requests to call the API. Prepare a page with
Add text and images to Notion via the official API and Python - tonisives
https://tonisives.com/blog/2021/11/30/add-text-and-images-to-notion-via-the-official-api-and-python/
Add text and images to Notion via the official API and Python - tonisives

Obtenir simplement un fitxer JSON manejable

Amb la API Oficial

Pytion (pinta prou bé)

Està bé perquè pinta senzilla, sobretot perquè utilitza la API oficial de Notioin. Però el client és en Python.
Llàstima, pinta que pot llegir blocs “equation” però no crear-los. No té gaire sentit perquè amb la API oficial seria simplement passar-li el JSON.

Antiga (estava molt xetada)

Crec que el projecte està mort
 
Web generada mitjançant react-notion-x.
Original: fisicaubwiki.notion.site.