- 浏览: 216702 次
- 性别:
- 来自: 深圳
文章分类
- 全部博客 (212)
- 架构师-01-文档目录 (3)
- 架构师-02-组织 (7)
- 架构师-03-实施 (35)
- 架构师-04-监督 (14)
- 架构师-05-工具 (29)
- 架构师-09-引用文集 (63)
- 专题-01-微博应用 (5)
- 专题-02-GoogleEarth (1)
- 专题-03-运行维护 (9)
- 专题-04-经纪人营平 (3)
- 专题-05-RCP&RAP (5)
- 专题-06-框架PK (3)
- 专题-07-Android (13)
- 专题-08-UI (3)
- 专题-liferay6 (6)
- 专题-extjs4 (3)
- 专题-CXF (3)
- 专题-封闭网络的社会化 (0)
- 扯谈 (4)
- 外包 (9)
- 专题-C++ (4)
- 专题-09-BI (2)
- jquery&easyui (2)
- 专题-搜索引擎 (1)
最新评论
-
brighter:
oMapper.configure(Deserializati ...
jackson 抛出 bean 中没有定义字段的错误,只好用 gson -
PassFeed_free:
public Bitmap decode(ImageDecod ...
android universalimageloader 几点改进 -
PassFeed_free:
楼主你好, 请问这个库, 在大屏显示高清图片 ,listvie ...
android universalimageloader 几点改进 -
yonghong:
楼主只是揣测
JIRA4.1 升级到 JIRA5.1 -
abdxj:
"Could NOT parse license t ...
JIRA4.1 升级到 JIRA5.1
SyncService
SyncNotification
SyncProgressFragment
参考http://www.evernote.com/about/developer/api/evernote-api.htm#_Toc297053055
1、EDAM(Evernote Data Access and Management) 协议
- 数据模型(data model)由 service 管理
- 远程处理(remote procedures)从 service 返回和提交修改数据
- 通过 Thrift service 定义语言来描述数据模型和远程处理,支持所有流行语言
- UserStore service 用户认证
- NoteStore service 用于数据变更
3、数据模型
每个核心的 NoteStore 数据元都有一个GUID(Globally unique identifier),在创建时生成,不能修改,被API参考调用。
每个数据对象都有一个 USN(updateSequenceNumber),用于发生修改服务的时候。每次发生变更提交时会创建一个USN。USN 是用户名下唯一且单调递增变量,方便客户端判断同步。
- User - 用户账户,用户名密码邮箱、个人属性、偏好
- Accounting - 账务,服务级别:如上传次数/空间限制(uploadLimit)。
- Notebook - 笔记本,每个用户账户可以有多个 notebook,note 需要存放在 notebook 中。有默认的 notebook - 不能删除最后一个 notebook。
- Note - 超文本文档,ENML(Evernote Markup Language)格式,内嵌资源(images, ink, audio, PDF, etc.),图片以内嵌二进制文件
- NoteAttributes - 系统定义的属性,如creation time, size, origin,用于搜索和过滤;
- Resource - 资源文件,二进制数据块。类似于电子邮件的附件,每个资源可能有一组描述其定义的属性 ResourceAttributes.
- SavedSearch - 保存搜索条件
资源内部使用MD5关联资源,如
<en-media type=”image/jpeg” hash=”9e107d9d372bb6826bd81d3542a419d6”/>
4、UserStore Service
固定访问: https://www.evernote.com/edam/user
远程方法 | 简介 |
checkVersion | 发送客户端版本号给服务,并获取兼容响应。 |
authenticate | 发送用户名和密码给服务,并获取成功的令牌信息。 |
refreshAuthentication | 发送一个将要到期的令牌给服务,并获取一个新的令牌。 |
getUser | 根据令牌返回一个用户。 |
getPublicUserInfo | 返回一个用户的公开信息。 |
getPreminmInfo | 返回一个用户免费/高级账号状态。 |
5、OAuth 认证
6、NoteStore Service
固定访问: https://www.evernote.com/edam/note/
远程方法 |
简介 |
listNotebooks |
Returns a list of all of the Notebooks in the account. |
getNotebook |
Retrieves the state of a single Notebook. |
getDefaultNotebook |
Retrieves the Notebook that should receive new Notes which do not specify a destination. |
createNotebook |
Makes a new Notebook in the account. |
updateNotebook |
Changes an existing Notebook. |
expungeNotebook |
Permanently removes an existing Notebook. Notes within the notebook are moved to the current default Notebook and moved into the trash. |
|
|
listTags |
Returns a list of all of the Tags in the account. |
listTagsByNotebook |
Returns a list of all of the Tags that are applied to at least one note within a specified notebook. |
getTag |
Retrieves the state of a single Tag. |
createTag |
Makes a new Tag in the account. |
updateTag |
Changes an existing Tag. |
untagAll |
Removes a Tag from any Notes. |
expungeTag |
Permanently removes an existing Tag. |
|
|
listSearches |
Returns a list of all of the SavedSearches in the account. |
getSearch |
Retrieves the state of a single SavedSearch. |
createSearch |
Makes a new SavedSearch in the account. |
updateSearch |
Changes an existing SavedSearch. |
expungeSearch |
Permanently removes an existing SavedSearch. |
|
|
findNotes |
Performs a search of the Notes in the User’s account based on a configurable filter, returning a paginated subset. |
findNotesMetadata |
Performs a search of the Notes in the User’s account based on a configurable filter, returning a paginated, configurable subset of metadata for matching notes. |
findNoteCounts |
Performs a search based on a configurable filter, returning the number of Notes that would match this filter for each Notebook and Tag. |
getNote |
Retrieves the state of a single Note. |
getNoteContent |
Retrieves just the ENML hypertext content of a Note. |
getNoteSearchText |
Returns the plain text contents of a single note. |
getNoteTagNames |
Retrieves the names of the Tags for a single Note. |
createNote |
Makes a new Note in an existing Notebook. |
updateNote |
Changes the content or metadata of a single existing Note. |
deleteNote |
Moves a single existing Note to the trash. |
expungeNote |
Permanently removes an existing Note. In most cases, third party applications that wish to remove a Note should use deleteNote instead of expungeNote. |
expungeNotes |
Permanently removes a set of existing Notes. |
expungeInactiveNotes |
Permanently removes all of the notes that are currently not active (i.e. notes in the “Trash”) |
copyNote |
|
listNoteVersions |
Retrieves a list of the prior versions of a particular note that are saved within the service. |
getNoteVersion |
Retrieves a previous version of a Note after it has been updated within the service (for premium Users only). |
|
|
getNoteApplicationData |
Retrieves the full applicationData map for a given note. |
getNoteApplicationDataEntry |
Retrieves a single entry in the applicationData map for a given note. |
setNoteApplicationDataEntry |
Create or update a single entry in the applicationData map for a given note. |
unsetNoteApplicationDataEntry |
Remove a single entry from the applicationData map for a given note. |
|
|
getResource |
Retrieves the state of a single Note attachment, optionally with its binary contents. |
updateResource |
Updates the metadata for a single Resource. (Not its binary contents.) |
getResourceData |
Retrieves the binary contents of a single Resource. |
getResourceByHash |
Retrieves one of the resources from a Note, via the MD5 checksum of its contents, not its GUID. |
getResourceRecognition |
Returns the XML recognition index file for a single Resource, which can be used to find words in the image. |
getResourceAlternateData |
Retrieves the binary contents of the Resource’s alternate data file. |
getResourceAttributes |
Returns the set of attributes for the Resource. |
getResourceSearchText |
Returns the plain text contents of a single Resource. |
|
|
getResourceApplicationData |
Retrieves the full applicationData map for a given resource. |
getResourceApplicationDataEntry |
Retrieves a single entry in the applicationData map for a given resource. |
setResourceApplicationDataEntry |
Create or update a single entry in the applicationData map for a given resource. |
unsetResourceApplicationDataEntry |
Remove a single entry from the applicationData map for a given resource. |
|
|
getPublicNotebook |
Gets the information for one published Notebook from a user’s account, via its public URI. |
createSharedNotebook |
Make a new SharedNotebook object. |
listSharedNotebooks |
Returns a list of all of the SharedNotebooks in an account. |
expungeSharedNotebooks |
Permanently removes a set of existing SharedNotebooks. |
createLinkedNotebook |
Makes a new LinkedNotebook object. |
updateLinkedNotebook |
Changes an existing LinkedNotebook. |
listLinkedNotebooks |
Returns a list of all LinkedNotebooks in an account. |
expungeLinkedNotebook |
Permanently removes an existing LinkedNotebook. |
authenticateToSharedNotebook |
Returns an authentication token that can be used to access the contents of a notebook shared from someone else’s account. |
getSharedNotebookByAuth |
Get extended information about a notebook shared from someone else’s account. |
sendMessageToSharedNotebookMembers |
Send an email to some or all of the addresses that a notebook has already been shared with. The message will include a link to the shared notebook. |
|
|
getSyncState |
Light-weight call for caching clients to “ping” the service to see whether the account has changed. |
getSyncChunk |
Core routine for full, synchronizing clients to retrieve the set of changes in an account since the last checkpoint. If you are developing a new application consider using getFilteredSyncChunkinstead of getSyncChunk. |
getFilteredSyncChunk |
Similar to getSyncChunk, but allows clients to specify the set of data elements that they would like returned to reduce network traffic and sync time. |
getLinkedNotebookSyncState |
Light-weight call for caching clients to “ping” the service to see whether shared notebooks linked from other accounts have changed. |
getLinkedNotebookSyncChunk |
Core routine for full, synchronizing clients to retrieve the set of changes in shared notebooks linked from other accounts since the last checkpoint. |
发表评论
-
大数据收集与使用
2014-03-31 15:00 0行业领导: GA是基于session的,由于其隐私策略,很 ... -
基于rtmp协议流媒体开发值得参考文章
2014-03-19 16:39 385原文出自:http://blog.csdn.net/xiao ... -
多路音视频上传观看方案
2014-03-19 16:36 1111原文出自:http://blog.csdn.net/xiao ... -
android视频录制、另一部手机实时观看方案
2014-03-19 16:27 1290原文出自:http://blog.csdn.net/xiao ... -
ANDROID 流媒体服务
2014-03-19 17:15 525bambuser https://bambuser.com ... -
EveryNote android 分析
2013-10-22 15:09 0Boss 总是向往 EveryNote 的 UI 设计,每隔 ... -
Android 4.2.2 GSON最新版解析错误,降低到Gson1.7正确
2013-09-23 11:35 796http://stackoverflow.com/ques ... -
软件各种版本编号
2013-08-14 09:43 639原文引用自:http://www.a ... -
微信架构推测
2013-08-06 09:45 1302原文:http://wenku.baidu.com/vie ... -
android universalimageloader 几点改进
2013-07-04 00:08 2751Android 中加载图片的工作频繁且重复,找一款好的组件 ... -
iphone app 上架之路
2013-04-26 15:14 0第一次上架,上传后三天就 ok 了,很快。 升级版本,一 ... -
Android 新手摸石头过河
2013-06-17 08:43 959所有体系都有潜规则,android 开发也不例外,新手需要 ... -
两个好用运营监控工具
2013-04-01 16:48 0手机版本: http://demo.cobub.com ... -
App工程结构搭建
2013-03-01 10:04 0引用说明:原文出自http://www.cnblogs.co ... -
Google Analytics SDK for Android
2013-02-06 11:54 2363Google Analytics SDK for And ... -
Evernote 分析机制学习
2013-02-06 09:32 969优秀不是偶然的,evernote 内嵌有 google a ... -
android 连接服务器的方法及安全性问题
2012-11-28 16:39 1600(一)Android网络通信的六种方式示例代码 有篇网文很不 ... -
sina 微博 android 客户端开发体验
2012-09-24 17:21 0花了一些时间,研读了一下新浪微博的 android 客户端, ... -
仿evernote 写一个同步方案
2012-03-08 18:47 0GDAM (Gohouse Data Access an ...
相关推荐
假小子2印象笔记到导出和同步工具。 我喜欢 Tomboy 笔记:它们干净、易于使用、多平台笔记,没有不必要的功能。 我已经将它们用于工作和个人笔记很长时间了。 有时我需要复习一些笔记,但我不在电脑旁。 不幸的是,...
破折号 mac 上仪表板的备忘录,能够与 Evernote 同步。
Evernote_6.21.6.2195.exe
EvImSync是在Evernote和GMail之间同步笔记的简单工具。Evernote2Onenote是将Evernote笔记导入OneNote的工具。
Evernote_6.22.14.3461
使用wine在Docker中运行Evernote 在Linux上访问Evernote的方法有很多,例如Nevernote,Geeknote和Everpad。 作为Evernote的长期用户和Docker爱好者,将两者... 只需登录,同步就会开始。 停止容器: docker stop e
资源分类:Python库 所属语言:Python 资源全名:exporteer_evernote_osx-0.0.1-py3-none-any.whl 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
evernote-rails-sync-sample 示例 Ruby on Rails 应用程序,展示了如何与 Evernote 执行同步先决条件Ruby、宝石、Rails 这在 Ruby 2.2.1 和 Rails 4 上运行。在运行服务器之前,运行bundle install从Gemfile安装 gem...
evernote Mac 国际版,如果以前使用的是evernote国际版,现在国内版不太好用,可以试试这个
使用方法var enmail = require('evernote-enmail').evernote_mail;var mailOpts = { user: '', // 自己邮箱的用户名 password: '', // 自己邮箱的密码 host: '', // 自己邮箱的stmp地址 ssl: , // boolean值 from: '...
Evernote SDK for C# Evernote API版本1.29 概述 该SDK包含用于从C#应用程序调用Evernote Cloud API的包装器代码。 该SDK还包含三个示例解决方案。 样本/客户端中的解决方案演示了.NET应用程序中SDK的基本用法,...
Gist-Evernote 一个Python应用程序,可以同步您的Github Gists并将其保存为屏幕截图作为笔记本。 借助该应用程序,您可以在一处搜索工作(Jupyter笔记本,Markdown文件,Python脚本等),并获得不错的结果。 :...
Evernote转Markdown转换器 Evernote2md是一个CLI工具,可将以* .enex格式导出的Evernote笔记转换为带有markdown文件的目录。 主要特点: 零依赖-下载并运行每个便签创建一个markdown文件转换附件文件(两个目录将被...
这是一款evernote笔记安装包,本人已经使用多年,该笔记可以联网同步,在公司保存的笔记家里也能看到,好几年使用的笔记一直保存在那里,建议大家使用。
简介此玩具用于为evernote web版添加外部md编辑器。构成编辑器使用作业部落的md编辑器,其中已整合流程图、时序图和公式。evernote web <-> background <-> editor存储结构:pre.hide + div.notice + parsed ...
Evernote2HTML 将Evernote ENEX备份文件转换为一系列HTML文件 # python3 -m venv env # env/bin/pip install -r requirements.txt ... # env/bin/python enex2html.py -h usage: enex2html.py [-h] -i INPUT [-o ...
用于将降价注释同步到Evernote的命令行工具 :elephant: 一些功能: 支持发布降价笔记到Evernote 支持从evernote取消发布降价笔记 支持添加笔记本和标签 支持代码突出显示,表格和插入图像 支持待办事项列表和...
与Evernote同步您的本地文件,目录; 将Evernote与cron或任何脚本一起使用。 Geeknote是用Python编写的,因此您可以在拥有Python的任何地方使用开源软件包,即使您愿意也可以在Windows中使用。 在这里,我们有...
enex转md文档小工具 window版本,本地测试通过 分享给大家帮助解决印象比较导出md文件问题
Evernote 和 Markdown 格式之间的 2 向转换。evernote2markdown已经支持将Evernote导出的html转换为Markdown,并且可以自动添加Jekyll的front matter