Skip to content

Instantly share code, notes, and snippets.

Avatar

Evernote Gists evernotegists

  • Evernote Corporation
  • Redwood City, CA
View GitHub Profile
@evernotegists
evernotegists / evernote_thumbnail.py
Created May 13, 2015
Getting a Thumbnails of a Evernote note using Python
View evernote_thumbnail.py
'''This is a script that writes jpg thumbnails for each note in a specified notebook to the currect directory'''
from evernote.api.client import EvernoteClient
from evernote.edam.notestore.ttypes import RelatedQuery, NoteFilter, NotesMetadataResultSpec
import requests
import sys
#SET THESE VALUES!!!
auth_token = "INSERT DEVELOPER TOKEN HERE"
notebook_name = "INSERT DESIRED NOTEBOOK NAME"
View Sample Access Token Response
oauth_token=S=s432:U=4a535ee:E=15430d11503:C=14cd91fe768:P=1cd:A=internal-dev:V=2:H=ce7c4fb0daddf3b7a68c05d5eac19f97&oauth_token_secret=&edam_shard=s432&edam_userId=77936110&edam_expires=1461107889411&edam_noteStoreUrl=https://www.evernote.com/shard/s432/notestore&edam_webApiUrlPrefix=https://www.evernote.com/shard/s432/
@evernotegists
evernotegists / Sample Access Token Request
Last active Aug 29, 2015
Sample Access Token Request
View Sample Access Token Request
https://sandbox.evernote.com/oauth?oauth_consumer_key=internal-dev&auth_token=internaldev.14CD91FCE1F.687474703A2F2F6C6F63616C686F7374.6E287AD298969B6F8C0B4B1D67BCAB1D&oauth_verifier=40793F8BAE15D4E3B6DD5CA8AB4BF62F&oauth_nonce=4078121641140961292&auth_signature=hfA8r3NdMnZbzN0OOmTZIZj6Wkc=&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1429572048&oauth_version=1.0
View Rejected Callback Sample
http://www.sample.com/?oauth_token=internal-dev.14CD91E94E1.687474703A2F2F6C6F63616C686F7374.C7D85D7179E4224D0255756FEDC72396&sandbox_lnb=false
View Sample Authorized Callback
http://www.sample.com/?oauth_token=internal-dev.14CD91FCE1F.687474703A2F2F6C6F63616C686F7374.6E287AD298969B6F8C0B4B1D67BCAB1D&oauth_verifier=40793F8BAE15D4E3B6DD5CA8AB4BF62F&sandbox_lnb=false
View Temporary Token Response Sample
oauth_token=internal-dev.14CD91FCE1F.687474703A2F2F6C6F63616C686F7374.6E287AD298969B6F8C0B4B1D67BCAB1D&oauth_callback_confirmed=true
@evernotegists
evernotegists / Sample Redirection URL
Last active Aug 29, 2015
Sample Redirection URL
View Sample Redirection URL
https://sandbox.evernote.com/OAuth.action?oauth_token=internal-dev.14CD91FCE1F.687474703A2F2F6C6F63616C686F7374.6E287AD298969B6F8C0B4B1D67BCAB1D
@evernotegists
evernotegists / Temporary Token Request Sample
Last active Dec 27, 2017
Temporary Token Request Sample
View Temporary Token Request Sample
https://sandbox.evernote.com/oauth?oauth_callback=http://www.foo.com&oauth_consumer_key=sample-api-key-4121&oauth_nonce=3166905818410889691&oauth_signature=T0+xCYjTiyz7GZiElg1uQaHGQ6I=&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1429565574&oauth_version=1.0
@evernotegists
evernotegists / developerToken
Last active Aug 29, 2015
developerTokenSample.txt
View developerToken
S=s1:U=8f219:E=154308dc976:C=14cd8dc9cd8:P=1cd:A=en-devtoken:V=2:H=1e4d28c7982faf6222ecf55df3a2e84b
View shortenedUrlExample
https://www.evernote.com/l/AAxNlxMzi2VF1oV7JDyFDKv1JXcc21NekYM