Learning WordPress REST API
- Length: 250 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2016-08-04
- ISBN-10: 1786469243
- ISBN-13: 9781786469243
- Sales Rank: #3666450 (See Top 100 Books)
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
Table of Contents
Chapter 1: Getting Started with REST API
Chapter 2: Interacting with REST API in WordPress
Chapter 3: Working with Taxonomies and Users with REST API
Chapter 4: Working with Forms Using REST API
Chapter 5: Custom Routes in WordPress REST API
Chapter 6: Creating a Simple Web App using WordPress REST API
Chapter 7: Mastering REST API for Your Projects
Chapter 8: WordPress REST API in Practice
Chapter 9: Summing It Up