diff options
author | 2021-05-23 10:31:38 -0700 | |
---|---|---|
committer | 2021-05-23 10:31:38 -0700 | |
commit | 9d5b84b88ddc2b7de1bc0f03d9026eb52e8976ac (patch) | |
tree | 735b1031148d4cddfa1a0e01f52b02e23e94f9cb /examples/todo/README.md | |
parent | 4cffa16633f83b6604f7ce3de47d40a29e6a9b54 (diff) | |
download | notion-9d5b84b88ddc2b7de1bc0f03d9026eb52e8976ac.tar.gz notion-9d5b84b88ddc2b7de1bc0f03d9026eb52e8976ac.tar.zst notion-9d5b84b88ddc2b7de1bc0f03d9026eb52e8976ac.zip |
Add initial todo example (#13)
Diffstat (limited to 'examples/todo/README.md')
-rw-r--r-- | examples/todo/README.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/todo/README.md b/examples/todo/README.md new file mode 100644 index 0000000..b22d08b --- /dev/null +++ b/examples/todo/README.md @@ -0,0 +1,19 @@ +# Notion database todo example + +This example is builds a todo list using a notion database. + +## Setup your notion api token + +Create an `internal` integration here: https://www.notion.so/my-integrations + +```bash + export NOTION_API_TOKEN='secret_token_here' +``` +> Notice the space before the export command. +> This will prevent your terminal from storing this token in your shell history... + +## Selecting the database to use + +```bash +cargo run --example todo -- config +``` |