Last active
August 29, 2015 14:01
-
-
Save Kwpolska/45f7b84194a046f4f15c to your computer and use it in GitHub Desktop.
PerpeTask evernote experiment
This file contains hidden or 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
#!/usr/bin/env python | |
# -*- encoding: utf-8 -*- | |
# The PerpeTask Evernote experiment | |
# Copyright © 2014, Chris “Kwpolska” Warrick. | |
# All rights reserved. | |
# Licensed under the BSD license. | |
"""The PerpeTask Evernote experiment.""" | |
from evernote.api.client import EvernoteClient | |
with open('DEV_TOKEN', 'r') as fh: | |
dev_token = fh.read().strip() | |
client = EvernoteClient(token=dev_token) | |
userStore = client.get_user_store() | |
user = userStore.getUser() | |
noteStore = client.get_note_store() | |
nb = noteStore.listNotebooks() | |
for n in nb: | |
if n.name == 'To-do lists': | |
T = n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment