Join Morten Rand-Hendriksen for an in-depth discussion in this video What are RESTful APIs and JSON?, part of WordPress REST API (WP-API): First Look.
- The WP API brings with it a list of new…acronyms (mumbles).…You'll hear me use these terms throughout the course,…and you'll also discover that they are not…specific to WordPress, so learning and understanding them…will be a big help as you move from…basic PHP-based applications to the wonderful world…of RESTful APIs.…Actually, let's start there with REST and API.…REST is an acronym that stands for…REpresentational State Transfer…and describes the software architecture of the web.…
A RESTful application is typically one that uses…standard verbs like GET, POST, PUT and DELETE…to retrieve and send data from and to a remote server.…RESTful applications use resources, so essentially URIs,…to interface with external systems such as a remote server,…and use the four verbs to perform operations on that server.…API is an acronym for Application Programming Interface,…a set of routines, protocols, and tools…for building applications and interfaces.…
You use APIs all the time without knowing it.…When you use the LinkedIn app or Google Maps…
With the WP API, developers can access the data on a WordPress site—such as users, posts, and categories—programmatically. The result is an expansion of the already limitless field of possibilities where theme and plugin development is concerned.
This course is a first look at the WP API: what it is, how to get it running, how to interact with it, what it can do for us, and what we can do with it. Join Morten Rand-Hendriksen, your guide and WordPress guru, as he walks through the tools and major features (such as routes and endpoints) of the WP API, as well as a short project that shows how this new API will be used in real-world workflows.
- Installing the WP API
- Exploring common routes
- Examining WP API output
- Building plugins with the WP API
- Crafting WP API URL requests
- Creating AJAX functions with the WP API