Example #1
0
def list_notes(request, notebook_guid):
    notes = evernote_facades.list_notes(notebook_guid)
    response = []
    for note in notes:
        note = evernote_facades.load_note(note['NoteId'])
        response.append(note)
    return HttpResponse(json.dumps(response), mimetype='application/json')
Example #2
0
def list_notes(request, notebook_guid):
    notes = evernote_facades.list_notes(notebook_guid)
    response = []
    for note in notes:
        note = evernote_facades.load_note(note['NoteId'])
        response.append(note)
    return HttpResponse(json.dumps(response), mimetype='application/json')
Example #3
0
def load_note(request, guid):
    response = evernote_facades.load_note(guid)
    return HttpResponse(json.dumps(response), mimetype='application/json')
Example #4
0
def load_note(request, guid):
    response = evernote_facades.load_note(guid)
    return HttpResponse(json.dumps(response), mimetype='application/json')