<commit_before># gemnasium-client

[![Dependency Status](https://gemnasium.com/thedumbterminal/gemnasium-client.svg)](https://gemnasium.com/thedumbterminal/gemnasium-client)

[![Build Status](https://travis-ci.org/thedumbterminal/gemnasium-client.svg)](https://travis-ci.org/thedumbterminal/gemnasium-client.svg)

A wrapper for the gemnasium API

## Developing<commit_msg>updated docs<commit_after># gemnasium-client

[![Dependency Status](https://gemnasium.com/thedumbterminal/gemnasium-client.svg)](https://gemnasium.com/thedumbterminal/gemnasium-client)

[![Build Status](https://travis-ci.org/thedumbterminal/gemnasium-client.svg)](https://travis-ci.org/thedumbterminal/gemnasium-client.svg)

A wrapper for the gemnasium API

## Usage

(coffeescript)

    GemnasiumClient = require 'gemnasium-client'
    client = new GemnasiumClient
    client.alerts (error, result) ->
      throw error if error
      console.log 'result:', result

(javascript)

    GemnasiumClient = require('gemnasium-client');
    client = new GemnasiumClient;
    client.alerts(function(error, result){
      if(error){
        throw error;
      }
      console.log('result:', result);
    });

## Developing
{'fraction_non_alphanumeric': 0.14237573715248525, 'fraction_numerical': 0.0, 'mean_word_length': 4.577464788732394, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4948965', 'n_tokens_mistral': 407, 'n_tokens_neox': 412, 'n_words': 57}