cct_webapi

This plugin creates a custom post type called API. When you create an API post, all of the content will be executed as PHP code just before the theme

Author:Richard Guay (profile at wordpress.org)
WordPress version required:3.2
WordPress version tested:3.4.2
Plugin version:1.0
Added to WordPress repository:21-08-2012
Last updated:21-08-2012
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://www.customct.com/api-page/
Total downloads:871
plugin download
Click to start download

Many times when a site powered by WordPress wants to supply a Web API for their site, they will work outside of WordPress using either PHP or Ruby on Rails. Then they have to write their own functions to get to the information inside the database for their WordPress site. I always thought that was a little backwards. That is why I wrote the Web API plugin for WordPress.

With the Web API plugin, you no longer have to do that. This plugin creates a custom post type called API. When you create an API post, all of the content will be executed as PHP code just before the theme stuff is executed in WordPress. Therefore, you have full access to all the WordPress PHP functions to create whatever you want: JSON output, HTML sniplets, full HTML pages without any of the sites theme or code, or anything else you can imagine. After the code on the page is executed, then the PHP session will be ended.


FAQ
ChangeLog