2017 © Pedro Peláez
 

library wp-endpoints-authors

Query against a WordPress site and get a JSON response with a collection of authors associated with your request.

image

moxie-lean/wp-endpoints-authors

Query against a WordPress site and get a JSON response with a collection of authors associated with your request.

  • Monday, June 6, 2016
  • by mitogh
  • Repository
  • 5 Watchers
  • 0 Stars
  • 251 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

WP Endpoint Authors

This package is depreciated. LEAN now uses the WordPress REST API plugins instead, (*1)

Query against a WordPress site and get a JSON response with a collection of authors associated with your request., (*2)

Getting Started

The easiest way to install this package is by using composer from your terminal:, (*3)

composer require moxie-lean/wp-endpoints-authors

Or by adding the following lines on your composer.json file, (*4)

"require": {
  "moxie-lean/wp-endpoints-authors": "dev-master"
}

This will download the files from the packagist site and set you up with the latest version located on master branch of the repository., (*5)

After that you can include the autoload.php file in order to be able to autoload the class during the object creation., (*6)

include '/vendor/autoload.php';

\Lean\Endpoints\Authors::init();

Features

Returns only a collection of authors., (*7)

Usage.

The default URL is:, (*8)

```` /wp-json/leean/v1/authors, (*9)


By default the collection is the list of users excluding administrators, you can use most of the WP_User_Query params in order to update your results and there is a filter available to override query arguments. ## Request examples Get list of authors. ```json wp-json/leean/v1/authors

The Versions

06/06 2016

dev-master

9999999-dev https://github.com/moxie-lean/wp-endpoints-authors

Query against a WordPress site and get a JSON response with a collection of authors associated with your request.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Moxie Developers

wordpress wordpress api

29/05 2016

1.0.1

1.0.1.0 https://github.com/moxie-lean/wp-endpoints-authors

Query against a WordPress site and get a JSON response with a collection of authors associated with your request.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Moxie Developers

wordpress wordpress api

25/04 2016

1.0.0

1.0.0.0 https://github.com/moxie-leean/wp-endpoints-authors

Query against a WordPress site and get a JSON response with a collection of authors associated with your request.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Moxie Developers

wordpress wordpress api

20/04 2016

0.1.1

0.1.1.0 https://github.com/moxie-leean/wp-endpoints-authors

Query against a WordPress site and get a JSON response with a collection of authors associated with your request.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Moxie Developers

wordpress wordpress api

19/04 2016

0.1.0

0.1.0.0 https://github.com/moxie-leean/wp-endpoints-authors

Query against a WordPress site and get a JSON response with a collection of authors associated with your request.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Moxie Developers

wordpress wordpress api