<commit_before># mojang-api

[npm](https://www.npmjs.com/package/mojang-api)

`mojang-api` is a simple wrapper around the [Mojang API](http://wiki.vg/Mojang_API). It is simple and low-dependency (only needing the
excellent [request](https://www.npmjs.com/package/request) library).

## Installation

    npm install --save mojang-api

## Usage
<commit_msg>Travis badge<commit_after># mojang-api

[![Build Status](https://travis-ci.org/thechunknetwork/mojang-api.svg)](https://travis-ci.org/thechunknetwork/mojang-api)

`mojang-api` is a simple wrapper around the [Mojang API](http://wiki.vg/Mojang_API). It is simple and low-dependency (only needing the
excellent [request](https://www.npmjs.com/package/request) library).

## Installation

    npm install --save mojang-api

## Usage

{'fraction_non_alphanumeric': 0.1503184713375796, 'fraction_numerical': 0.0, 'mean_word_length': 4.574468085106383, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 5, 'lorem ipsum': 0, 'www.': 3, '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': '4680621', 'n_tokens_mistral': 290, 'n_tokens_neox': 271, 'n_words': 60}