Integrate Cool Applications with WordPress.com
We are happy to announce our new REST Application Programming Interface (API) that lets developers explore, interact, and create great new content with the vast community of sites on the WordPress.com network and, in the near future, Jetpack-enabled sites.
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.
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. To retrieve public data, you can make unauthenticated requests. 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 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.
Ready to build an app and integrate it with WordPress.com? Great! You can now sign up for and manage your OAuth2 tokens without waiting through an approval cycle. If you have any questions or feedback on the API, please get in touch with us. Make sure to follow the Developer Resources blog for news, updates, and documentation about the REST API and other awesome services we are making available to developers seeking to integrate with WordPress.com.