<commit_before>A WordPress REST API client for JavaScript
==========================================

This is a client for the [WordPress REST API](http://wp-api.org/). It is **under active development**, and should be considered beta software. More features are in progress, and **[issues](https://github.com/wp-api/node-wpapi/issues)** are welcome if you find something that doesn't work!

**`wpapi` is designed to work with [WP-API](https://github.com/WP-API/WP-API) v2 beta 11 or higher.** If you use a prior version of the beta, some commands will not work. The latest beta is always recommended!

[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/wp-api/node-wpapi?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

[![Build Status](https://api.travis-ci.org/wp-api/node-wpapi.png?branch=master)](https://travis-ci.org/wp-api/node-wpapi)

**Index**:

- [Purpose](#purpose)
- [Installation](#installation)
- [Using The Client](#using-the-client)
  - [Auto-discovery](#auto-discovery)
  - [Creating Posts](#creating-posts)
  - [Updating Posts](#updating-posts)
  - [Requesting Different Resources](#requesting-different-resources)
  - [Filtering Collections](#filtering-collections)
  - [Custom Routes](#custom-routes)
  - [Embedding Data](#embedding-data)
  - [Paginated Collections](#working-with-paged-response-data)
  - [Authentication](#authentication)
- [API Documentation](#api-documentation)
- [Issues](#issues)
- [Contributing](#contributing)

## Purpose<commit_msg>Update travis badge URL for moved repository<commit_after>A WordPress REST API client for JavaScript
==========================================

This is a client for the [WordPress REST API](http://wp-api.org/). It is **under active development**, and should be considered beta software. More features are in progress, and **[issues](https://github.com/wp-api/node-wpapi/issues)** are welcome if you find something that doesn't work!

**`wpapi` is designed to work with [WP-API](https://github.com/WP-API/WP-API) v2 beta 11 or higher.** If you use a prior version of the beta, some commands will not work. The latest beta is always recommended!

[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/wp-api/node-wpapi?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

[![Build Status](https://travis-ci.org/WP-API/node-wpapi.svg?branch=master)](https://travis-ci.org/WP-API/node-wpapi)

**Index**:

- [Purpose](#purpose)
- [Installation](#installation)
- [Using The Client](#using-the-client)
  - [Auto-discovery](#auto-discovery)
  - [Creating Posts](#creating-posts)
  - [Updating Posts](#updating-posts)
  - [Requesting Different Resources](#requesting-different-resources)
  - [Filtering Collections](#filtering-collections)
  - [Custom Routes](#custom-routes)
  - [Embedding Data](#embedding-data)
  - [Paginated Collections](#working-with-paged-response-data)
  - [Authentication](#authentication)
- [API Documentation](#api-documentation)
- [Issues](#issues)
- [Contributing](#contributing)

## Purpose
{'fraction_non_alphanumeric': 0.18350113673270543, 'fraction_numerical': 0.003247807729782397, 'mean_word_length': 5.470588235294118, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 12, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '275089', 'n_tokens_mistral': 1021, 'n_tokens_neox': 951, 'n_words': 217}