Scanne avec ton iPhone pour installer
Use Notion API and Apple Shortcuts to Capture Notes in Seconds
This shortcut can save you hours by using the Notion API to enter my notes and thoughts for you.
If you’re an avid user of Notion and want to streamline your workflow, creating an Apple Shortcut can be a game-changer. It was for me.
There is no need to build a complex system and there is no need to reorganise everything you already have. You can start working and developing ideas immediately by taking smart notes. — Sonke Ahrens
Nouveautés
Version 1.0
First release
Ce qu’il fait
5 actions-
Ask for InputWhat do you want to remember?
-
Ask for InputWhat’s the main idea?
-
Text
-
URLhttps://api.notion.com/v1/pages
-
Get Contents of URL…
Afficher en tant que code
Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.
#include 'actions/web'
#define color blue
prompt("What do you want to remember?")
prompt("What’s the main idea?")
const Text = "{\n \\"parent\\": { \n \\"type\\": \\"database_id\\", \n \\"database_id\\":\\"INSERT_YOUR_DATABASE_ID\\"},\n \\"properties\\": {\n \\"Note_or_Idea\\": {\n \\"type\\": \\"title\\",\n \\"title\\": [\n { \n \\"type\\": \\"text\\", \n \\"text\\": { \n \\"content\\": \\"Provided Input\\"} \n }\n ] \n },\n \\"Main_Idea\\": {\n \\"type\\": \\"rich_text\\",\n \\"rich_text\\": [\n {\n \\"type\\": \\"text\\", \n \\"text\\": {\n \\"content\\": \\"Provided Input\\"}\n }\n ]\n }\n }\n}"
url("https://api.notion.com/v1/pages")
fileRequest(, "POST", Text, {
"Authorization": "Bearer secret_b0MycFIQlzjPoqsvc3Zza5MmbvbV4rdNh56M25ithhn",
"Content-Type": "application/json",
"Notion-Version": "2021-08-16"
})
Ouvrir dans Cherri Playground
Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.
Notes et avis
Écrire un avis–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aucun avis pour le moment. Sois le premier à partager ton avis !
Publicité
Ça pourrait aussi te plaire
Publicité