X-REST 1.50 is a REST API for XOOPS 2.x series. It will work with earlier version of xoops as well upto XOOPS 2.5. It provides a full REST API with JSON, XML and Serialisation Responses. It uses the standard plugin set for the other APIs as well as this one to provide a streamlined solution to APIs on your site, the plugins are compatible with all other API by chronolabs. You may be familar with a REST api such as the ones at Google, Twitter, Facebook etc, this is just the same but allowing for API Action on your own website.

There is two reserved variables on the REST API which are the following: xrestplugin & outputmode.

To call a REST API Function you must know the filename of the plugin, say it is called plugin.php then the following call will call the function on the API. ./xrest/plugin/?var1=example1&var2=example2 or for an XML response you would call ./xrest/plugin/xml/?var1=example1&var2=example2 and of course for PHP Serialisation you could call ./xrest/plugin/serial/?var1=example1&var2=example2 - you can also POST to the api where you can call the following folder for the plugin functionhttp://yoursite.com/modules/xrest/plugin/ where the variables defined in the plugins XSD var1 and var2 are posted using cURL or other systems headers. In this example the variable xrestplugin would equal plugin. You can change the output mode where JSON is the default, by specifying in the variables outputmode=xml for xml output, outputmode=serial for PHP Serilisation output and the standard where you don't need to specify is JSON for outputmode=json for JSON output.

Features:


System Requirements:



Other files by: wishcraft

MyAlbum-p (2012/03/13)
Flowplayer (2012/03/13)
UI Tabs (2012/03/13)
Sexy (2012/03/13)
Benchmark (2012/03/13)
Maquee 1.03 (2012/03/13)
XQuiz (2012/03/13)
IRC 1.02 (2011/08/10)
TwitterBomb 1.12 (2011/08/10)
Prochatrooms 7.0 (2011/05/08)
Membership 1.02 (2011/02/06)
Webcams 1.09 (2011/02/04)
Xpayment 1.18 (2011/01/21)
XinCodes 1.02 (2010/12/15)
Profile (Verbose) 1.62 (2010/12/15)
Dates 1.45 (2010/11/08)
X-Center (2010/09/29)
X-cURL (2010/07/16)

The comments are owned by the author. We aren't responsible for their content.
user

 Re: X-REST API


file not found

 
user

 Re: X-REST API


You can find it here.

 


Login

Top Module Downloads

Who's Online

166 user(s) are online (6 user(s) are browsing Module Repository)


Members: 0


Guests: 166


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!