ExpressionEngine 2.0: Rest
Integrate RESTful API's into your ExpressionEngine 2.0 website with this Rest module. You can list Tweets, search for Digg articles, show off Flickr photographs and interact with any open RESTful API.
But how?
You can create REST requests in the backend module and reference them with Template Syntax, then loop through the returned response. Everything sent back from the API is converted into a loopable ExpressionEngine array wether its XML, JSON, Serialized data, pure PHP or CSV. It will even include XML attributes as well as node values.
{exp:rest name="foo"}
{some_value}<br />
{/exp:rest}
Rest module can do more than just grab information from predefined requests. You can create REST requests on the fly:
{exp:rest url="http://example.com/" verb="get" format="json" param:foo="bar"}
{some_value}<br/>
{/exp:rest}
You could use this syntax with other Template Tags and create some very dynamic flexible sites.
Where can I find it?
As with all the best ExpressionEngine add-ons, you can buy this module on Devot:ee for a very reasonable $30.
Comments