<aside> 📣 此文章连接至部落格的贴文:《在 Notion 创建 Habit Tracker》 链接1:https://sogoleo.wordpress.com/2023/04/29/notion-habit-tracker/ 链接2:https://sogoleo.blogspot.com/2023/04/notion-habit-tracker.html
</aside>
部落格上这篇文章《在 Notion 创建 Habit Tracker》的纲要如下:
<aside> ✍️ 然后,此文章主要补充如何使用 Notion 的 API 和如何编写能通过 iPhone 的 Shortcuts 应用在 Daily Habits 资料库里创建新页的程序及使用自动化的功能。
</aside>
到 Notion API 网站 (https://developers.notion.com/) 获取 token:
Go to My Integration
Create new integration
Name your integration
Get your token
邀请 Integration 的机器人到你的资料库里。
Share and invite the integration bot to your database
Select the integration bot and invite it to your database.
在 iOS Shortcuts 的程序里编写 JSON 语法
包含 json 语法的 Shortcuts 程序
日期的设定如下图:
记得要设定成 ISO 8601 的
然后,Get contents of … 的设定如下:
Bearer 后空一格,然后加上 API 的 KEY