【发布时间】:2012-04-09 02:38:52
【问题描述】:
我是 Google API 的新手,我正在尝试根据此处描述的 Google Calendar API 示例创建一个应用程序:http://samples.google-api-java-client.googlecode.com/hg/calendar-appengine-sample/instructions.html。
这可行,但我无法继续前进,因为我无法访问https://developers.google.com/google-apps/calendar/v3/reference/ 中描述的所有 API 方法,例如 get、patch、list 等。
示例应用源代码中实现了几个方法:/year-planner/src/main/java/com/google/api/services/samples/calendar/appengine/server/CalendarGwtRpcSample.java:
void delete(GwtCalendar calendar) throws IOException;
GwtCalendar insert(GwtCalendar calendar) throws IOException;
GwtCalendar get(GwtCalendar calendar) throws IOException;
GwtCalendar update(GwtCalendar updated) throws IOException;
但只实现了删除、插入和更新方法。我希望这些可以直接从客户端库中获得。
我错过了什么吗?还是我需要自己创建所有这些方法?
我已按照示例应用程序的教程,在 Windows (Vista) 上使用 Eclipse 以及来自 Maven 存储库的源代码和客户端库。
谢谢
【问题讨论】:
标签: java google-calendar-api google-api-java-client