Отсканируй на iPhone, чтобы установить
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
Что нового
Версия 1.0
First release
Что делает
Действий: 5-
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…
Посмотреть как код
Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.
#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"
})
Открыть в Cherri Playground
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.
Оценки и отзывы
Написать отзыв–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Пока нет отзывов. Поделись мнением первым!
Реклама
Вам также может понравиться
Реклама