Automattic announced a new REST Application Programming Interface (API) for WordPress.com that lets developers explore, interact, and create great new content. The company said in the "near future" WordPress.org users will get the API through its Jetpack-plugin.
"The API gives developers access to posts and comments, as well as the ability to Follow, Like, or Reblog content for users. Other features from WordPress.com, like the daily handpicked content on Freshly Pressed, are also available through the API.
An excellent example of an application that uses the new API is the Windows 8 WordPress.com app, available now on Windows Store," explains WordPress.com team.
"Our goal with the new API is to simplify the experience of using and adding to the data available on WordPress.com. To do this, we now use the OAuth2 protocol to authenticate requests for data," the team said.
"To retrieve public data, you can make unauthenticated requests. And, to perform actions, such as making new posts or comments, you would need to make authenticated requests. When the API returns data, we now return a standardized JSON object for ease-of-use."
The team further notes, "the REST API also self-documents itself; as we add new endpoints, the documentation on our Developer Resources blog will auto-update to provide you with the latest information."
In addition, you'll also have access to a Developer Console, which will allow you to run real REST API queries and see real JSON data directly in your web browser.
You can read more about the Console here.