WP-API / client-php

Reference client library for the WP API
Other
60 stars 17 forks source link

WordPress API Client

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.