Skip to content

Instantly share code, notes, and snippets.

View evernotegists's full-sized avatar

Evernote Gists evernotegists

  • Evernote Corporation
  • Redwood City, CA
View GitHub Profile
@evernotegists
evernotegists / evernote_thumbnail.py
Created May 13, 2015 22:55
Getting a Thumbnails of a Evernote note using Python
'''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"
@evernotegists
evernotegists / Sample Access Token Response
Created April 21, 2015 01:24
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 October 30, 2023 09:49
Sample Access Token Request
https://www.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
@evernotegists
evernotegists / Rejected Callback Sample
Created April 21, 2015 01:11
Rejected Callback Sample
http://www.sample.com/?oauth_token=internal-dev.14CD91E94E1.687474703A2F2F6C6F63616C686F7374.C7D85D7179E4224D0255756FEDC72396&sandbox_lnb=false
@evernotegists
evernotegists / Sample Authorized Callback
Created April 21, 2015 01:09
Sample Authorized Callback
http://www.sample.com/?oauth_token=internal-dev.14CD91FCE1F.687474703A2F2F6C6F63616C686F7374.6E287AD298969B6F8C0B4B1D67BCAB1D&oauth_verifier=40793F8BAE15D4E3B6DD5CA8AB4BF62F&sandbox_lnb=false
@evernotegists
evernotegists / Temporary Token Response Sample
Created April 21, 2015 00:37
Temporary Token Response Sample
oauth_token=internal-dev.14CD91FCE1F.687474703A2F2F6C6F63616C686F7374.6E287AD298969B6F8C0B4B1D67BCAB1D&oauth_callback_confirmed=true
@evernotegists
evernotegists / Sample Redirection URL
Last active October 30, 2023 09:47
Sample Redirection URL
https://www.evernote.com/OAuth.action?oauth_token=internal-dev.14CD91FCE1F.687474703A2F2F6C6F63616C686F7374.6E287AD298969B6F8C0B4B1D67BCAB1D
@evernotegists
evernotegists / Temporary Token Request Sample
Last active February 5, 2024 19:12
Temporary Token Request Sample
https://www.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 August 29, 2015 14:19
developerTokenSample.txt
S=s1:U=8f219:E=154308dc976:C=14cd8dc9cd8:P=1cd:A=en-devtoken:V=2:H=1e4d28c7982faf6222ecf55df3a2e84b
https://www.evernote.com/l/AAxNlxMzi2VF1oV7JDyFDKv1JXcc21NekYM