-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,18 +12,38 @@ | |
## Features | ||
|
||
The client supports all (non-deprecated) endpoints available in the Notion API, | ||
as of July 20, 2021: | ||
as of December 22, 2021: | ||
|
||
### Databases | ||
|
||
- [x] [Retrieve a database](https://pkg.go.dev/github.com/dstotijn/go-notion#Client.FindDatabaseByID) | ||
- [x] [Query a database](https://pkg.go.dev/github.com/dstotijn/go-notion#Client.QueryDatabase) | ||
- [x] [Create a database](https://pkg.go.dev/github.com/dstotijn/go-notion#Client.CreateDatabase) | ||
- [x] [Update database](https://pkg.go.dev/github.com/dstotijn/go-notion#Client.UpdateDatabase) | ||
- [x] [Retrieve a database](https://pkg.go.dev/github.com/dstotijn/go-notion#Client.FindDatabaseByID) | ||
|
||
### Pages | ||
|
||
- [x] [Retrieve a page](https://pkg.go.dev/github.com/dstotijn/go-notion#Client.FindPageByID) | ||
- [x] [Create a page](https://pkg.go.dev/github.com/dstotijn/go-notion#Client.CreatePage) | ||
- [x] [Update page properties](https://pkg.go.dev/github.com/dstotijn/go-notion#Client.UpdatePageProps) | ||
- [x] [Update page](https://pkg.go.dev/github.com/dstotijn/go-notion#Client.UpdatePage) | ||
- [x] [Retrieve a page property](https://pkg.go.dev/github.com/dstotijn/go-notion#Client.FindPagePropertyByID) | ||
|
||
### Blocks | ||
|
||
- [x] [Retrieve a block](https://pkg.go.dev/github.com/dstotijn/go-notion#Client.FindBlockByID) | ||
- [x] [Update block](https://pkg.go.dev/github.com/dstotijn/go-notion#Client.UpdateBlock) | ||
- [x] [Retrieve block children](https://pkg.go.dev/github.com/dstotijn/go-notion#Client.FindBlockChildrenByID) | ||
- [x] [Append block children](https://pkg.go.dev/github.com/dstotijn/go-notion#Client.AppendBlockChildren) | ||
- [x] [Delete block](https://pkg.go.dev/github.com/dstotijn/go-notion#Client.DeleteBlock) | ||
|
||
### Users | ||
|
||
- [x] [Retrieve a user](https://pkg.go.dev/github.com/dstotijn/go-notion#Client.FindUserByID) | ||
- [x] [List all users](https://pkg.go.dev/github.com/dstotijn/go-notion#Client.ListUsers) | ||
- [x] [Retrieve your token's bot user](https://pkg.go.dev/github.com/dstotijn/go-notion#Client.FindCurrentUser) | ||
|
||
### Search | ||
|
||
- [x] [Search](https://pkg.go.dev/github.com/dstotijn/go-notion#Client.Search) | ||
|
||
## Installation | ||
|
@@ -78,7 +98,4 @@ changes in its code until `v1.0` of the module is released. | |
|
||
[MIT License](LICENSE) | ||
|
||
--- | ||
|
||
© 2021 David Stotijn — [Twitter](https://twitter.com/dstotijn), | ||
[Email](mailto:[email protected]) | ||
© 2021 [David Stotijn](https://v0x.nl) |