-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
As you might know, Evernote doesn't support Dev Tokens anymore. Getting my AuthToken was easy after I got my API Key. (Got it here, with Basic access for safety, and it took 2 days.)
I just ran the Django sample in the Evernote Python 2 SDK. You may want to add that suggestion to the Readme.
More details: On a separate environment, clone the repository in the link. Then follow the instructions for Django with OAuth, and simply change the file sample/django/oauth/views.py to print your AuthToken to the terminal:
Before:
try:
client = get_evernote_client()
client.get_access_token(
request.session['oauth_token'],
request.session['oauth_token_secret'],
request.GET.get('oauth_verifier', '')
)
After:
try:
client = get_evernote_client()
auth_token = client.get_access_token(
request.session['oauth_token'],
request.session['oauth_token_secret'],
request.GET.get('oauth_verifier', '')
)
print(auth_token)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels