Skip to content

Instantly share code, notes, and snippets.

@evernotegists
Created March 7, 2013 00:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evernotegists/5104639 to your computer and use it in GitHub Desktop.
Save evernotegists/5104639 to your computer and use it in GitHub Desktop.
client = EvernoteClient(token=dev_token, sandbox=False)
noteStore = client.get_note_store()
note_guid = '5056b825-e447-4eeb-bfda-cf7a86241f49'
note = noteStore.getNote(dev_token, note_guid, False, True, True, True)
for r in note.resources:
print r.recognition.body
# Output:
# <?xml version="1.0" encoding="UTF-8"?>
# <!DOCTYPE recoIndex PUBLIC "SYSTEM" "http://xml.evernote.com/pub/recoIndex.dtd"><recoIndex docType="unknown" objType="image" objID="fc83e58282d8059be17debabb69be900" engineVersion="5.5.22.7" recoType="service" lang="en" objWidth="2398" objHeight="1798"><item x="437" y="589" w="1415" h="190"><t w="87">EVER ?</t><t w="83">EVER NOTE</t><t w="82">EVERNOTE</t><t w="71">EVER NaTE</t><t w="67">EVER nine</t><t w="67">EVER none</t><t w="66">EVER not</t><t w="62">over NOTE</t><t w="62">even NOTE</t><t w="61">EVER nose</t><t w="50">EV£RNoTE</t></item><item x="1850" y="1465" w="14" h="12"><t w="11">et</t><t w="10">TQ</t></item></recoIndex>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment