WP::API

Circle CI

Makes it incredibly easy and semantic to access Wordpress blogs that have the new, RESTful WP API plugin installed.

Installation

gem 'wp-api'
bundle

Note

This gem requires Ruby 2.0, which is the oldest currently supported version of Ruby.

Usage

client = WP::API['yourwpsite.com']

# List all posts
client.posts

# List all users
client.users

Author

@colinyoung