Skip to content

Instantly share code, notes, and snippets.

@youqingkui
Last active August 29, 2015 14:25
Show Gist options
  • Save youqingkui/cf1027f737c48bd6207d to your computer and use it in GitHub Desktop.
Save youqingkui/cf1027f737c48bd6207d to your computer and use it in GitHub Desktop.
个人token连接印象笔记
# 从源代码看,连接印象笔记是需要设置service_host,这个在官方文档上门没有指出。
from evernote.api.client import EvernoteClient
token = "your dev token"
client = EvernoteClient(token=dev_token,sandbox=False)
client.service_host = 'app.yinxiang.com'
userStore = client.get_user_store()
user = userStore.getUser()
print user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment