Learning WordPress REST API

Sufyan Bin Uzayr

Language: English

Publisher: Packt Publishing

Published: Jul 25, 2016

Description:

A practical tutorial to get you up and running with the revolutionary WordPress REST API About This Book Learn how to run the latest WordPress REST API with various platforms Create exciting apps and manage non-WordPress content with them Secure, export, and manage your data through illustrative examples Who This Book Is For This book is for WordPress developers and designers who want to get a complete practical understanding of the WordPress REST API and leverage it to create fully-featured web apps. What You Will Learn Use the WordPress REST API to read, write, and edit posts Create and work with metadata using the WordPress REST API Work with taxonomies using the REST API Add custom routes and build apps using the WordPress REST API Process requests and integrate with external applications and frameworks Make your WordPress projects ready for the RESTful API standard In Detail The WordPress REST API is a recent innovation that has the potential to unlock several new opportunities for WordPress developers. It can help you integrate with technologies outside of WordPress, as well as offer great flexibility when developing themes and plugins for WordPress. As such, the REST API can make developers' lives easier. The book begins by covering the basics of the REST API and how it can be used along with WordPress. Learn how the REST API interacts with WordPress, allowing you to copy posts and modify post metadata. Move on to get an understanding of taxonomies and user roles are in WordPress and how to use them with the WordPress REST API. Next, find out how to edit and process forms with AJAX and how to create custom routes and functions. You will create a fully-functional single page web app using a WordPress site and the REST API. Lastly, you will see how to deal with the REST API in future versions and will use it to interact it with third-party services. By the end of the book, you will be able to work with the WordPress REST API to build web applications. Style and Approach A step by step tutorial to explain the new and exciting world of the WordPress REST API with the real world examples.

"