Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add to API::Google universal query() method #8

Open
pavelsr opened this issue Mar 28, 2017 · 0 comments
Open

Add to API::Google universal query() method #8

pavelsr opened this issue Mar 28, 2017 · 0 comments

Comments

@pavelsr
Copy link
Owner

pavelsr commented Mar 28, 2017

Make the library without limitations.

In particular, in current implementation there is no way to pass to Events.list() timeMax and timeMin params that is inconvenient.

More universal method would be:

$gcal_api->query({
  resource => 'Events'
  method => 'delete'
})

Also it will be great if object oriented way would be implemented (see method chaining)

$gcal_api->Events->delete($event_id)

As examples of good API implementation see source code of MojoX::CloudFlare::Simple, WWW::Telegram::BotAPI and Mojo::Cloudflare

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant