Skip to content

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

Open

Description

@pavelsr

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions