An open API service indexing awesome lists of open source software.

https://github.com/raphaelstolt/isgd-api-client

A is.gd API client utilizing the Zend Framework
https://github.com/raphaelstolt/isgd-api-client

Last synced: 20 days ago
JSON representation

A is.gd API client utilizing the Zend Framework

Awesome Lists containing this project

README

          

isgd-api-client
======
The **isgd-api-client** is a the TDD way developed client to the [is.gd](http://is.gd/api_info.php) API utilizing Zend_ShortUrl_Service_Abstract of the [Zend Framework](http://framework.zend.com/). The is.gd service allows you to shorten URL's.

Requirements
------------
* An installed version of the Zend Framework with the installed/patched in Zend_ShortUrl component which currently drowses in the [incubator](http://framework.zend.com/svn/framework/standard/incubator/library/Zend/ShortUrl/).

Examples
------------
The following example shows the two edge cases for using the is.gd API programmaticly with the **isgd-api-client**.
#### Usage Example:

shorten('http://zendframework.com'); // http://is.gd/1T35Q
$service->unshorten('http://is.gd/1T35Q'); // http://zendframework.com