snapshotpl / zf-snap-google
There is no license information available for the latest version (0.9.0) of this package.
0.9.0
2015-03-27 16:34 UTC
Requires
- php: >=5.4.0
- google/apiclient: ~1.1
This package is auto-updated.
Last update: 2024-10-29 04:47:37 UTC
README
Google API client for Zend Framework 2
Module uses official Google SDK as dependency.
Usage
$youtube = $serviceManager->get('Google_Service_YouTube'); $result = $youtube->search->listSearch('id', [ 'q' => 'Google', 'maxResults' => 10, 'videoEmbeddable' => 'true', 'type' => 'video', ]);
How to install?
Via composer.json
{ "require": { "snapshotpl/zf-snap-google": "0.9.*" } }
and add module ZfSnapGoogle
to application.config.php
.
Configure your Google credentials by settings developer key:
return [ 'google' => [ 'client' => [ 'developer_key' => null, ], ], ];