yoghi / client-php

Reference client library for the WP API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Reference client library for the WP API

License:Other


Languages

Language:PHP 100.0%