{"id":44947,"date":"2010-10-08T01:43:39","date_gmt":"2010-10-08T01:43:39","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/extended-xml-rpc-api\/"},"modified":"2014-02-04T22:56:03","modified_gmt":"2014-02-04T22:56:03","slug":"extended-xml-rpc-api","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/extended-xml-rpc-api\/","author":7242197,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.8.1","stable_tag":"trunk","tested":"3.7.41","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Extended API","header_author":"Michael Grosser","header_description":"","assets_banners_color":"","last_updated":"2014-02-04 22:56:03","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_donations&business=michaelgrosser%40gmail%2ecom","header_plugin_uri":"http:\/\/www.michaelgrosser.com","header_author_uri":"http:\/\/www.michaelgrosser.com","rating":1,"author_block_rating":0,"active_installs":20,"downloads":6445,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"0.8":"<p>Fixed an issue that caused problems on newer versions of PHP.<\/p>","0.7":"<p>I fixed an issue that prevented the initial setup from working if activated through schema.php. I also fixed an issue that caused some methods to appear that couldn&#039;t actually be exposed via API.<\/p>","0.6":"<p>Fixes a few problems with the namespaces and also with calling functions with multiple parameters.<\/p>"},"ratings":{"1":"1","2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.6","0.8"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1538859","resolution":"1","location":"plugin"}},"screenshots":{"1":"Admin panel"}},"plugin_section":[],"plugin_tags":[1556,28192,6558,14731],"plugin_category":[],"plugin_contributors":[82258],"plugin_business_model":[],"class_list":["post-44947","plugin","type-plugin","status-closed","hentry","plugin_tags-api","plugin_tags-webservices","plugin_tags-xml-rpc","plugin_tags-xmlrpc","plugin_contributors-michaelgrosser","plugin_committers-michaelgrosser"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/extended-xml-rpc-api.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/extended-xml-rpc-api\/trunk\/screenshot-1.jpg?rev=1538859","caption":"Admin panel"}],"raw_content":"<!--section=description-->\n<p>Updated!\n- Fixed a pass by reference at call time issue.\n- Tested up through WordPress 3.8.1\n- Improved the point at which methods are declared to better capture more available WordPress methods.<\/p>\n\n<p>This plugin was made to make WordPress easier to integrate with external platforms and external code. While the existing \nWordPress XML-RPC API provides a lot of functionality, it does not provide everything. This plugin allows nearly every \nstandard WordPress function to be called via API.<\/p>\n\n<p>Here's some examples of things you can do with this plugin that you cannot do with WordPress' \"out-of-the-box\" XML-RPC API:<\/p>\n\n<ul>\n<li>Add Users<\/li>\n<li>Update Users<\/li>\n<li>Update Post Meta<\/li>\n<li>Update User Meta<\/li>\n<li>And much more!<\/li>\n<\/ul>\n\n<p>While some of these things are possible with the other APIs WordPress supports, it's a hassle to learn multiple API specs \njust to get something done. Now, if you know the WordPress function, you can call it with this extended API.<\/p>\n\n<p>This plugin also lets you choose a Namespace for the extended API and enable\/disable all of the functions it provides access\nto for security purposes. The plugin also ensures the user is valid before executing a WordPress command.<\/p>\n\n<p>So how does it work? Easy, you simply execute an XML RPC request to WordPress as you always would, except the method you will \nalways call is \"callWpMethod\". callWpMethod takes 4 arguments:<\/p>\n\n<ol>\n<li>Username<\/li>\n<li>Password<\/li>\n<li>WordPress Method Name (e.g. get_posts)<\/li>\n<li>WordPress Method Arguments (e.g. post_id). Note, this MUST be an array. The number of array items should be the list of parameters\nyou would normally pass to the method.<\/li>\n<\/ol>\n\n<p>Warning: This is an advanced module. While it makes all functions accessible via the API, that doesn't mean it's necessarily\nrecommended to leave all of this open. You will need to be a programmer to make effective use of this extension. Use at your own risk.<\/p>\n\n<p>That said, have fun! Feel free to contact me if you have any questions or need support. Also, since this is a new project, I'm very\nopen to suggestions for improvements or new features, so please let me know if you'd like to see anything added to this project.<\/p>\n\n<!--section=installation-->\n<p>To install the plugin:<\/p>\n\n<ol>\n<li>Upload <code>plugin-name.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Under Settings -&gt; Extended API confirm both the Namespace and also the functions you want enabled\/disabled.<\/li>\n<li>Start making your webservice requests!<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How can I use this?<\/dt>\n<dd><p>This is limited only by your resourcefulness! I use it to provide deep WordPress integrations with other platforms like Magento and non-PHP\nprojects.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.8<\/h4>\n\n<p>Fixed an issue that caused problems on newer versions of PHP.<\/p>\n\n<h4>0.7<\/h4>\n\n<p>I fixed an issue that prevented the initial setup from working if activated through schema.php. I also fixed an issue that caused some methods to appear that couldn't actually be exposed via API.<\/p>\n\n<h4>0.6<\/h4>\n\n<p>Fixes a few problems with the namespaces and also with calling functions with multiple parameters.<\/p>\n\n<h4>0.5<\/h4>\n\n<p>Initial Release<\/p>","raw_excerpt":"Extends the WordPress XML-RPC API to allow for nearly every WordPress function to be used.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/44947","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=44947"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/michaelgrosser"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=44947"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=44947"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=44947"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=44947"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=44947"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=44947"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}