Skip to content
Home » News » How Can Non-WordPress Developers Take Advantage of the JSON Rest API?

How Can Non-WordPress Developers Take Advantage of the JSON Rest API?

wordpress-552922_640

WordPress has unleashed version 4.2 last April 23. This was followed by the 4.2.1 Security Update release a week after to eliminate cross-scripting vulnerabilities.

From a blogger and site owner’s perspectives, the update that will make the most impression is the improved user experience when managing your plugins. Users can now download or activate/deactivate multiple plugins on the same page, unlike before when users are brought to a different page after selecting a plugin to download and then have to click on the Plugin link again to repeat the process.

However, the real beauty lies in the programmer and developer’s side, in which the JSON REST API is now part of WordPress’s core.

What is JSON REST API and why should I care?

Elegant Themes wrote a comprehensive article about the JSON REST API geared towards non-developers to help them understand its importance. In a nutshell, this is what this API can do for you:

[T]he WP API allows you to take CRUD actions on WordPress content. Which means Create, Read, Update, and Delete the following content types:

  • Posts
  • Pages
  • Custom Post Types
  • Media
  • Comments
  • Taxonomies
  • Users
  • Or any other type of content you can extend it for…

While most of the information found in the article may still be confusing for non-developers, below are simplified key takeaways to make it easier for you:

Ability to create articles from different devices

blogger-336371_640

Can you imagine yourself writing a 1,500-word blog post from your smartphone or tablet? While some may be doing this, it would be much easier to write such kind of article in front of your desktop computer, since you will have to pull out images, links, and other elements from different sources. The problem is that the interface of blogging apps do not lend themselves friendly on handheld devices.

With the JSON REST API, programmers may soon develop and release blogging apps that let you create long-form content in an efficient manner. This can be beneficial to bloggers who are looking for more convenient ways to create and publish their content while away from their workstations or website owners who wish to tweak their sites and interact with their audience on the fly.

Ability to integrate third-party application to your WordPress sites

When writing and publishing content, there’s a great chance that you refer to different online tools for research and brainstorming purposes to get the job done. With developers wanting to take advantage of JSON REST API, you can expect your favorite tools to integrate with your WordPress site.

For example, if you include content curation as part of your marketing strategy, there soon might be a way to cull all relevant resources that you could feature on your upcoming posts. This allows you to save time from searching for related articles one at a time and just get all the information you need in one fell swoop.

This is just one possibility that showcases the interaction between applications and WordPress that can help your content management much easier.

Final thoughts: The addition of the JSON REST API to the core of WordPress has the potential to change how you produce and manage your website. While everything is still in their early stages and nothing’s set in stone until proven otherwise, this development is something that all WordPress users must take notice in the first, even non-developers.

More on WordPress developers:

Blogging Pitfalls: Why You Should Update Your Themes (and Use Child Themes)

Premium WordPress Plugins: Questions To Ask Before Buying