-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #147 from KenesuEXE/main
docs: Fix wrong code in index.rst
- Loading branch information
Showing
1 changed file
with
4 additions
and
3 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 |
---|---|---|
|
@@ -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. | ||
|
||
|