1
0
mirror of https://github.com/dstotijn/go-notion.git synced 2025-06-15 00:05:04 +02:00
Commit Graph

86 Commits

Author SHA1 Message Date
e5130d1fde Fix incorrect types for Formula, Relation and Rollup page props
Fixes #11
2021-05-24 16:33:03 +02:00
7e83ec7aec Add custom type for Notion date properties with optional time v0.2.0 2021-05-23 14:02:17 +02:00
00a77fe3a4 Add tests for "append block children" endpoint v0.1.5 2021-05-22 23:37:52 +02:00
ebabf2cf70 Add tests for "retrieve block children" endpoint 2021-05-22 20:38:44 +02:00
ee6b002819 Add tests for "update page properties" endpoint v0.1.4 2021-05-22 18:45:33 +02:00
9ed2a6f1c1 Merge pull request #6 from mmmommm/fix-typo
Fix typo in comment
v0.1.3
2021-05-22 14:18:08 +02:00
d78e9e3f8e fix typo 2021-05-22 20:57:19 +09:00
55aa9db5c7 Add tests for "create page" endpoint 2021-05-19 22:21:53 +02:00
063bb045e4 Add tests for "find page by ID" endpoint 2021-05-19 20:46:50 +02:00
d087d4b000 Add tests for "query database" endpoint v0.1.2 2021-05-18 21:19:03 +02:00
ce7d6da4c6 Fix missing database page properties, use PageParent type 2021-05-18 21:18:30 +02:00
c16fdfbc88 Use struct pointers for various DatabaseQueryFilter fields
Fixes: #2
v0.1.1
2021-05-17 22:00:05 +02:00
0e0f6c77aa Add tests for NewClient and Client.FindDatabaseByID 2021-05-17 21:08:13 +02:00
d419979b00 Fix typo in README 2021-05-17 21:07:39 +02:00
a9f18d3209 Update README 2021-05-16 00:13:01 +02:00
843e655c11 Add search endpoint support v0.1.0 2021-05-15 23:06:37 +02:00
874858ea2a Add "list users" endpoint support 2021-05-15 20:50:47 +02:00
9b807dd473 Add "retrieve a user" endpoint support 2021-05-15 20:30:07 +02:00
019301c714 Remove stray code 2021-05-15 20:17:21 +02:00
205f94cc89 Add "append block children" endpoint support 2021-05-15 20:16:26 +02:00
cd696c1624 Add "retrieve block children" endpoint support 2021-05-15 19:04:57 +02:00
6eeae1f900 Update README 2021-05-15 18:10:56 +02:00
304d7d2d8c Remove stray log call 2021-05-15 18:06:34 +02:00
e32f7422cd Add "update page properties" endpoint support 2021-05-15 18:06:11 +02:00
b2af8b7d0b Add "create a page" endpoint 2021-05-15 13:42:01 +02:00
955d10b769 Update README 2021-05-15 00:21:01 +02:00
14a12ab965 Fix error message when newRequest returns err 2021-05-15 00:20:11 +02:00
807f08dace Add endpoint for getting page by ID 2021-05-15 00:19:30 +02:00
cea180062e Fix database page property mapping for select and multi_select 2021-05-15 00:15:31 +02:00
4726db0bf2 Add context.Context arg for Client methods, move methods to client.go 2021-05-15 00:02:08 +02:00
0c1e15e0a7 Add "query database" endpoint 2021-05-14 23:48:30 +02:00
0c31224d6f Remove database property metadata types that are empty 2021-05-14 18:49:00 +02:00
56b18f60ee Add User-Agent HTTP req header 2021-05-14 18:25:44 +02:00
fccdde0f5b Simplify APIError.Unwrap, fix missing error message prefixes 2021-05-14 18:24:56 +02:00
d9867284b5 Use DatabaseProperty in DB props map 2021-05-14 17:34:46 +02:00
e9e9dca708 Initial commit 2021-05-13 22:11:32 +02:00