An API for WordPress