Codeigniter-google-api is a project mainly written in ..., it's free.
A CodeIgniter Library for the Google AJAX API
h1. CodeIgniter Google API Library
h2. DESCRIPTION
This allows you to easily interface with Google's AJAX API within your CodeIgniter application.
h2. INSTALLATION
h2. USAGE
API calls takes 2 parameters:
Valid API calls include:
$this->google->web();
$this->google->local();
$this->google->video();
$this->google->blogs();
$this->google->news();
$this->google->books();
$this->google->images();
$this->google->patents();
Examples: @$this->google->web('codeigniter');@
@$this->google->images('cougar', array('safe' => 'active'));@
h3. Return Values
The library return the responseData object sent by Google. You must access the results like this:
$search = $this->google->web('codeigniter');
$results = $search->results;
You can also use chaining to simplify it:
$results = $this->google->web('codeigniter')->results;
For more information on the return object please see the API reference: "Google API Reference":http://code.google.com/apis/ajaxsearch/documentation/reference.html#_intro_fonje