wp-api / client
Client for the WordPress JSON REST API
Installs: 6 557
Dependents: 0
Suggesters: 0
Security: 0
Stars: 60
Watchers: 12
Forks: 17
Open Issues: 6
Requires
- justinrainbow/json-schema: dev-master
- rmccue/requests: ~1.6
This package is auto-updated.
Last update: 2024-11-15 21:54:20 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.