API > eden > google.php
View Source

class Eden_Google

Google API factory. This is a factory class with methods that will load up different google classes. Google classes are organized as described on their developer site: analytics, calendar ,contacts ,drive, plus and youtube.

Public Methods

public function auth($clientId, $clientSecret, $redirect, $apiKey = NULL )

Returns google analytics methods

Arguments

  1. *string
  2. *string
  3. *url
  4. *string

Returns Eden_Google_Oauth

public function analytics($token)

Returns google analytics methods

Arguments

  1. *string

Returns Eden_Google_Analytics

public function calendar($token)

Returns google calendar methods

Arguments

  1. *string

Returns Eden_Google_Calendar

public function checkout($merchantId)

Returns google checkout methods

Arguments

  1. *string

Returns Eden_Google_Checkout_Form

public function contacts($token)

Returns google contacts methods

Arguments

  1. *string

Returns Eden_Google_Contacts

public function drive($token)

Returns google drive methods

Arguments

  1. *string

Returns Eden_Google_Drive

public function imap($user, $token)

Returns google mail methods

Arguments

  1. *string

Returns Eden_Google_Imap

public function smtp($user, $token)

Returns google mail methods

Arguments

  1. *string

Returns Eden_Google_Smtp

public function maps($token)

Returns google maps methods

Arguments

  1. *string

Returns Eden_Google_Maps

public function plus($token)

Returns google plus methods

Arguments

  1. *string

Returns Eden_Google_Plus

public function shortener($key, $token)

Returns google shortener methods

Arguments

  1. *string API key
  2. *string

Returns Eden_Google_Plus

public function youtube($token, $developerId)

Returns google youtube methods

Arguments

  1. *string
  2. *string

Returns Eden_Google_Youtube


© 2012 Openovate Labs. All rights reserved.