Updated Google URL Shortener (markdown)

Ramkumar Sankarpandi 2013-09-03 04:46:57 -07:00
parent c37287572e
commit e51056ff72

@ -1,7 +1,7 @@
# Google URL Shortener API Class for Codeigniter
## Usage:
`
$apiKey = "<< Your Google API Key >>";
//load the library
$this->load->library('GoogleURL');
@ -10,4 +10,4 @@ $this->googleurl->_initialize($apiKey);
//for shortening
echo $this->googleurl->shorten('http://www.google.com');
//for expanding
echo $this->googleurl->expand('http://googl.com/FgFHGf');
echo $this->googleurl->expand('http://googl.com/FgFHGf');`