Skip to content

Commit

Permalink
Merge pull request #147 from KenesuEXE/main
Browse files Browse the repository at this point in the history
docs: Fix wrong code in index.rst
  • Loading branch information
kiwiz authored Aug 15, 2023
2 parents c8796fa + 874a1c8 commit 17a0895
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,19 @@ Welcome to gkeepapi's documentation!
.. contents::

**gkeepapi** is an unofficial client for programmatically interacting with Google Keep::
import gkeepapi

keep = gkeepapi.Keep()
keep.login('[email protected]', 'password')

note = gkeepapi.createNote('Todo', 'Eat breakfast')
note = keep.createNote('Todo', 'Eat breakfast')
note.pinned = True
note.color = gkeepapi.node.ColorValue.Red

keep.sync()

print note.title
print note.text
print(note.title)
print(note.text)

The client is mostly complete and ready for use, but there are some hairy spots. In particular, the interface for manipulating labels and blobs is subject to change.

Expand Down

0 comments on commit 17a0895

Please sign in to comment.