The document discusses Evernote's Mobile SDKs and how to get started with the Evernote API. It covers creating an account, getting a consumer key, downloading an SDK, and starting to use the API calls. It also summarizes ENML markup language, writing and viewing notes, authentication, and interacting with the Evernote mobile app through the SDK wrappers.
6. #EC2013
Mobile SDK¡¯s
? Easy to use - hide complexities
? Local API¡¯s
? Support popular environments (cocoapods/
maven)
Monday, September 30, 13
7. #EC2013
Mobile SDK¡¯s
? Easy to use - hide complexities
? Local API¡¯s
? Support popular environments (cocoapods/
maven)
? Wrappers
Monday, September 30, 13
12. #EC2013
Getting started
1. Create an account on sandbox.evernote.com
2. Get your consumer key
3. Download the SDK
Monday, September 30, 13
13. #EC2013
Getting started
1. Create an account on sandbox.evernote.com
2. Get your consumer key
3. Download the SDK
4. Start using the API¡¯s
Monday, September 30, 13
51. #EC2013
Helpful SDK functions
? List notes for a shared notebook
? List all the business notebooks
? Create a business notebook
? Create a note in a business notebook
Monday, September 30, 13
53. #EC2013
Example - Get all the Post-it?
notes
EvernoteNoteStore *noteStore = [EvernoteNoteStore noteStore];
Monday, September 30, 13
54. #EC2013
Example - Get all the Post-it?
notes
EvernoteNoteStore *noteStore = [EvernoteNoteStore noteStore];
EDAMNoteFilter* noteFilter = [[EDAMNoteFilter alloc] init];
Monday, September 30, 13
55. #EC2013
Example - Get all the Post-it?
notes
EvernoteNoteStore *noteStore = [EvernoteNoteStore noteStore];
EDAMNoteFilter* noteFilter = [[EDAMNoteFilter alloc] init];
[noteFilter setWords:@"sourceApplication:postit"];
Monday, September 30, 13
56. #EC2013
Example - Get all the Post-it?
notes
EvernoteNoteStore *noteStore = [EvernoteNoteStore noteStore];
EDAMNoteFilter* noteFilter = [[EDAMNoteFilter alloc] init];
[noteFilter setWords:@"sourceApplication:postit"];
EDAMNotesMetadataResultSpec* metadataResultSpec =
[[EDAMNotesMetadataResultSpec alloc] init];
Monday, September 30, 13
57. #EC2013
Example - Get all the Post-it?
notes
EvernoteNoteStore *noteStore = [EvernoteNoteStore noteStore];
EDAMNoteFilter* noteFilter = [[EDAMNoteFilter alloc] init];
[noteFilter setWords:@"sourceApplication:postit"];
EDAMNotesMetadataResultSpec* metadataResultSpec =
[[EDAMNotesMetadataResultSpec alloc] init];
[metadataResultSpec setIncludeTitle:YES];
Monday, September 30, 13
58. #EC2013
Example - Get all the Post-it?
notes
EvernoteNoteStore *noteStore = [EvernoteNoteStore noteStore];
EDAMNoteFilter* noteFilter = [[EDAMNoteFilter alloc] init];
[noteFilter setWords:@"sourceApplication:postit"];
EDAMNotesMetadataResultSpec* metadataResultSpec =
[[EDAMNotesMetadataResultSpec alloc] init];
[metadataResultSpec setIncludeTitle:YES];
[noteStore ?ndNotesMetadataWithFilter:noteFilter o?set:0 maxNotes:
100 resultSpec:metadataResultSpec success:^(EDAMNotesMetadataList
*metadata)} failure:^(NSError *error) {}];
Monday, September 30, 13
59. #EC2013
Example - Get all the Post-it?
notes
EvernoteNoteStore *noteStore = [EvernoteNoteStore noteStore];
EDAMNoteFilter* noteFilter = [[EDAMNoteFilter alloc] init];
[noteFilter setWords:@"sourceApplication:postit"];
EDAMNotesMetadataResultSpec* metadataResultSpec =
[[EDAMNotesMetadataResultSpec alloc] init];
[metadataResultSpec setIncludeTitle:YES];
[noteStore ?ndNotesMetadataWithFilter:noteFilter o?set:0 maxNotes:
100 resultSpec:metadataResultSpec success:^(EDAMNotesMetadataList
*metadata)} failure:^(NSError *error) {}];
Monday, September 30, 13
61. #EC2013
Example - List notes from a
shared notebook
EvernoteNoteStore *defaultNoteStore = [EvernoteNoteStore
noteStore];
Monday, September 30, 13
62. #EC2013
Example - List notes from a
shared notebook
EvernoteNoteStore *defaultNoteStore = [EvernoteNoteStore
noteStore];
[defaultNoteStore listLinkedNotebooksWithSuccess:^(NSArray
*linkedNotebooks) {
Monday, September 30, 13
63. #EC2013
Example - List notes from a
shared notebook
EvernoteNoteStore *defaultNoteStore = [EvernoteNoteStore
noteStore];
[defaultNoteStore listLinkedNotebooksWithSuccess:^(NSArray
*linkedNotebooks) {
EDAMNoteFilter* noteFilter = [[EDAMNoteFilter alloc] init];
Monday, September 30, 13
64. #EC2013
Example - List notes from a
shared notebook
EvernoteNoteStore *defaultNoteStore = [EvernoteNoteStore
noteStore];
[defaultNoteStore listLinkedNotebooksWithSuccess:^(NSArray
*linkedNotebooks) {
EDAMNoteFilter* noteFilter = [[EDAMNoteFilter alloc] init];
[defaultNoteStore
listNotesForLinkedNotebook:linkedNotebooks[0]
withFilter:noteFilter success:^(EDAMNoteList *list) { }
failure:^(NSError *error) { }];}
Monday, September 30, 13