Jan*_*dło 3 google-calendar-api google-api-ruby-client
我在Calendar中创建了3个事件,然后运行
response = @client.execute!(
:api_method => @calendar_api.events.list,
:parameters => {
:calendarId => "primary",
:maxResults => 10,
:singleEvents => true,
:orderBy => 'startTime'}
)
Run Code Online (Sandbox Code Playgroud)
我收到3个项目但是#next_sync_token调用的方法response.data返回nil(#next_page_token也返回nil,但在这种情况下它是正确的).我试着将:fields参数设置为"nextSyncToken",但仍然没有.我也对这些事件做了一些更新,但#next_sync_token仍然没有.我错了吗?也许我犯了一些错误?仅使用calendarIdin参数的调用也是如此.
| 归档时间: |
|
| 查看次数: |
439 次 |
| 最近记录: |