gigadesign/module-google-client

Wrapper to easily connect to Google Client and use Google API services

Installs: 206

Dependents: 1

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:magento2-module

pkg:composer/gigadesign/module-google-client

1.0.0.1-stable 2019-12-30 18:55 UTC

This package is auto-updated.

Last update: 2025-09-29 02:42:56 UTC


README

This module is a wrapper module to be able to easily connect to all Google API services.

To add a new scope to the connection, add the following to the di.xml of your module:

<type name="Gigadesign\GoogleClient\Model\GoogleClientManager">
	<arguments>
		<argument name="scopes" xsi:type="array">
			<item name="calendar_read_only" xsi:type="string">\Google_Service_Calendar::CALENDAR_READONLY</item>
			<item name="calendar_events" xsi:type="string">\Google_Service_Calendar::CALENDAR_EVENTS</item>
		</argument>
	</arguments>
</type>

And make sure to add this module in the sequence of your own module.