Skip to content
leonbarrett edited this page Nov 9, 2010 · 1 revision

As with all CodeIgniter libraries, put the Geckoboard_api.php file into your libraries folder so that the full path is:

system/application/libraries/Geckoboard_api.php

Within your controller, simply load the library like so:

$this->load->library('geckoboard_api');

To make a call to the library use:

$response = $this->geckoboard_api->return_geckoboard_text($data);
echo($response);

You can learn more about the api methods by looking at the widget types pages.

Clone this wiki locally