diTii.com Digital News Hub

Sign up with your email address to be the first to know about latest news and more.

I agree to have my personal information transfered to MailChimp (more information)


REST API for WordPress.com, Windows 8 WordPress.com App Now Available; Will Available in “near future” to Jetpack

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.

Windows 8 WordPress.com app on Windows Store

“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.

REST Application Programming Interface (API) for WordPress.com

You can read more about the Console here.

Share This Story, Choose Your Platform!

Do NOT follow this link or you will be banned from the site!