mp-php/fuel-packages-gdata

Installs: 165

Dependents: 0

Stars: 6

Watchers: 3

Forks: 1

Language: PHP

1.0 2014-02-19 13:05 UTC

README

This package depend on google-api-php-client.
https://github.com/google/google-api-php-client

Install

Setup to fuel/packages/gdata

Configuration

One

In app/config/config.php

'always_load' => array('packages' => array(
    'gdata',
    ...

or in your code

Package::load('gdata');
Two

Copy packages/gdata/config/gdata.php to under app/config directory and edit

Usage

$gdata = Gdata::forge(
    $service_name,
    $instance_name = 'default',
    $config = array()
);
You can access $gdata->client and $gdata->service.