A JSON-based REST API for WordPress
PHP JavaScript
Switch branches/tags
Pull request Compare This branch is 1 commit ahead, 836 commits behind WP-API:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
lib
CHANGELOG.md
CONTRIBUTING.md
README.md
plugin.php
testhelper.php
wp-api.js

README.md

REST API

This is a project to create a JSON-based REST API for WordPress. This project is run by Ryan McCue and is part of the WordPress 2013 GSoC projects.

Installation

As a Plugin

Drop this directory in and activate it. You need to be using pretty permalinks to use the plugin, as it uses custom rewrite rules to power the API.

As Part of Core

Note: These instructions will likely be broken while in development. Please use the plugin method instead.

Drop wp-json.php into your WordPress directory, and drop class-wp-json-server.php into your wp-includes/ directory. You'll need working PATH_INFO on your server, but you don't need pretty permalinks enabled.

Issue Tracking

All tickets for the project are being tracked on the GSoC Trac. Make sure you use the JSON REST API component.