evernote-sdk-patterns

Featured

Advanced Evernote SDK patterns and best practices. Use when implementing complex note operations, batch processing, search queries, or optimizing SDK usage. Trigger with phrases like "evernote sdk patterns", "evernote best practices", "evernote advanced", "evernote batch operations".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Evernote SDK Patterns ## Overview Production-ready patterns for working with the Evernote SDK, including search with NoteFilter, pagination, attachments, tags, error handling wrappers, and batch operations with rate limit handling. ## Prerequisites - Completed `evernote-install-auth` and `evernote-hello-world` - Understanding of Evernote data model (Notes, Notebooks, Tags, Resources) - Familiarity with async/await and Promises ## Instructions ### Pattern 1: Search with NoteFilter Use `NoteFilter` for query terms and sort order, paired with `NotesMetadataResultSpec` to select returned fields. This avoids fetching full note content when only metadata is needed. ```javascript const filter = new Evernote.NoteStore.NoteFilter({ words: 'tag:important notebook:Work', ascending: false, order: Evernote.Types.NoteSortOrder.UPDATED }); const spec = new Evernote.NoteStore.NotesMetadataResultSpec({ includeTitle: true, includeUpdated: true, includeTagGuids: true, includeNotebookGuid: true }); const result = await noteStore.findNotesMetadata(filter, 0, 100, spec); ``` ### Pattern 2: Creating Notes with Attachments Compute the MD5 hash of the file buffer, create a `Resource` with the binary data and MIME type, embed it in ENML with `<en-media type="..." hash="..."/>`, and attach it to the note. ```javascript const hash = crypto.createHash('md5').update(fileBuffer).digest('hex'); const resource = new Evernote.Types.Resource(); resource.data = new Evernote.Types.Data(); ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category