快速接入notion 并提供一些方便接口
- 基础接口
val notion = ENotion("token")
<!-- https://mvnrepository.com/artifact/com.github.darkice1/easy-biance -->
<dependency>
<groupId>com.github.darkice1</groupId>
<artifactId>easy-biance</artifactId>
<version>1.0.5</version>
</dependency>
- https://developers.notion.com/reference/retrieve-a-database
- notion.retrieveDatabases()
- https://developers.notion.com/reference/post-database-query
- notion.queryDatabases()
- https://developers.notion.com/reference/retrieve-a-page
- notion.retrievePages()