Google calendar api 如何从google API v3获取两个日期之间的google日历事件?

Google calendar api 如何从google API v3获取两个日期之间的google日历事件?,google-calendar-api,google-oauth,google-api-client,google-oauth-java-client,Google Calendar Api,Google Oauth,Google Api Client,Google Oauth Java Client,我正在开发calander界面,需要在calander中包含google事件 我可以通过查询列出事件 https://www.googleapis.com/calendar/v3/calendars/primary/events 但是,需要获取两个日期之间的事件。我在网上发现了类似的问题 但他使用的是javascript客户端,而我不是。 他正在使用.setTimeMin方法设置日期 我需要知道在两个日期之间应该传递哪些参数来检索events。我从 参数是timeMin和timeMax,应该与

我正在开发calander界面,需要在calander中包含google事件

我可以通过查询列出事件

https://www.googleapis.com/calendar/v3/calendars/primary/events
但是,需要获取两个日期之间的事件。我在网上发现了类似的问题 但他使用的是javascript客户端,而我不是。 他正在使用.setTimeMin方法设置日期

我需要知道在两个日期之间应该传递哪些参数来检索events。

我从

参数是timeMin和timeMax,应该与如下查询字符串一起传递

https://www.googleapis.com/calendar/v3/calendars/primary/events?timeMin=2012-09-30T09:11:13.562Z&timeMax=2012-10-30T09:11:13.562Z
我从他那里得到了暗示

参数是timeMin和timeMax,应该与如下查询字符串一起传递

https://www.googleapis.com/calendar/v3/calendars/primary/events?timeMin=2012-09-30T09:11:13.562Z&timeMax=2012-10-30T09:11:13.562Z