From 97f740c22ea3fbcca238b42744a72e364991f128 Mon Sep 17 00:00:00 2001 From: David Stotijn Date: Wed, 22 Dec 2021 14:41:52 +0100 Subject: [PATCH] Add missing endpoints to README --- README.md | 31 ++++++++++++++++++++++++------- 1 file changed, 24 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 5284a13..285eee2 100644 --- a/README.md +++ b/README.md @@ -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:dstotijn@gmail.com) +© 2021 [David Stotijn](https://v0x.nl) \ No newline at end of file