The complexity and size of web applications prompts developers to think about rapid development processes through third-party applications. Basically, we use third-party frameworks and libraries to automate the common tasks of web applications. Alternatively, we can use third-party services to provide functionalities that are not directly related to the core logic of application. Using APIs is a popular way of working with third-party services. The creation of an API opens the gates for third-party applications to access our the data of our applications.
WordPress provides the ability to create an API through its built-in API powered by XML-RPC. Also, WordPress is moving towards the JSON REST API, and hopefully, it will be available in the near future. The existing XML-RPC API caters to the blogging and CMS functionalities, while allowing developers to extend the APIs with custom functionalities. This chapter covers the basics of an existing...