Rob*_*tan 2 sorting google-calendar-api
如何从最新到最旧的顺序在Google日历中安排活动。我已经阅读了一些文档,但是,它似乎不起作用。
使用的参数:
orderby=created
orderby=updated
orderby=start
orderby=starttime
sortorder=ascending
Run Code Online (Sandbox Code Playgroud)
小智 5
您应该使用singleEvents = True和orderBy = startTime
据我所知,您无法在v3中使用sortOrder。
要按开始时间排序,单个事件必须为true(如此处所述):https : //code.google.com/apis/calendar/v3/using.html#api_params
祝好运!