Last active
August 29, 2015 14:25
-
-
Save youqingkui/cf1027f737c48bd6207d to your computer and use it in GitHub Desktop.
个人token连接印象笔记
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
# 从源代码看,连接印象笔记是需要设置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