wp-api/client

Client for the WordPress JSON REST API

dev-master 2014-05-27 05:52 UTC

This package is auto-updated.

Last update: 2024-12-15 22:01:22 UTC


README

This client software is the reference implementation of an API client for the JSON REST API and also the independent testing suite for the API.

The API client library, testing software is ISC Licensed (similar to the new BSD license) and depends only on Requests, which is bundled with the client.

(Eventually, this will use Composer instead, and allow using other client libraries.)

Running the Tests

To run the API test suite, simply execute the following:

$ cd tests/
$ phpunit

You can also add Client or Server after phpunit to test a single component from these.