Skip to content

winterpk/Google-Kohana-Api-Wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Kohana Google Api Wrapper

This is a wrapper module for googles api libraries

Google api link

code.google.com/p/google-api-php-client

Installation

To use this module copy and paste into the MODPATH of kohana and add to bootstrap.php module loader

Kohana::modules(array(
	'gclient'		=> MODPATH.'gclient',		// Google api wrapper
));

Usage

Call the class anywhere in the application with the static instance method.

Gclient::instance();

Access the base gClient.php library use the gclient() method

$gclient = Gclientp::instance()->gclient();

If you want to use a specific service pass it as a parameter to instance() method and call api().

$gcal = Gclient::instance('apiCalendarService')->api();

About

Kohana module wrapper for Google's php api client libraries.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages