私はGoogleAPIを初めて使用し、ここで説明されているGoogle Calendar APIサンプルに基づいてアプリを作成しようとしています:http ://samples.google-api-java-client.googlecode.com/hg/calendar-appengine-sample/instructions .html。
これは機能しますが、 https://developers.google.com/google-apps/calendar/で説明されているget、patch、listなどのすべてのAPIメソッドにアクセスできないため、先に進むのに問題があります。 v3 /reference/。
サンプルアプリのソースコードには、いくつかのメソッドが実装されています。/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リポジトリのソースコードとクライアントライブラリを使用しました。
ありがとう