Widgets and API for consumercomplaints.in
Three types of widget are available for consumercomplaints.in - Top n, Almost Fully Committed and Almost Paid.
Instructions on how to add these widgets to your site can be found below.
You may add the parameter "&nocss=1" to prevent the css from loading
You may add the parameter "&tab=1" to load the widget as a tab. If you do this, you may utilize two further parameters - position (left or right, default is right) and top (css unit, default is 25%)
Enter the script tag in the head section of your html and the div where you want the widget to appear
You may wish to change the width and height of the iframe to suit your website and the suggestions listed.
All of the widgets above can be used in API form. Simply take the same URL and add either &json=1 or &phpserialze=1 to the URL to retrieve the results as JSON or as a serialized PHP array
The Co-Funded web pages uses the API to produce the widgets in all of the sidebars (top suggestions etc)