O'Reilly logo

WordPress Web Application Development - Second Edition by Rakhitha Nimesh Ratnayake

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building the API client

WordPress provides support for its API through the xmlrpc.php file located inside the root of the installation directory. Basically, we need two components to build and use an API:

  • The API server: This is the application where the API function resides
  • The API client: This is a third-party application or service that requests the functionality of an API

Since we will use the existing API functions, we don't need to worry about the server, as it's built inside the core. So, we will build a third-party client to access the service. Later, we will improve the API server to implement custom functionalities that go beyond the existing API functions. The API client is responsible for providing the following features:

  • Authenticating ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required