Skip to content

Instantly share code, notes, and snippets.

@Kwpolska
Last active August 29, 2015 14:01
Show Gist options
  • Save Kwpolska/45f7b84194a046f4f15c to your computer and use it in GitHub Desktop.
Save Kwpolska/45f7b84194a046f4f15c to your computer and use it in GitHub Desktop.
PerpeTask evernote experiment
#!/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
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment