<commit_before># Librato::Client

Librato API Client for for Ruby.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'librato-client'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install librato-client

## Usage

* [Librato API Documentation — Librato API Documentation](http://dev.librato.com/v1),
* [RESOURCES](https://github.com/winebarrel/librato-client/blob/master/lib/librato/client/client.rb#L11)
* [SUB_RESOURCES](https://github.com/winebarrel/librato-client/blob/master/lib/librato/client/resource.rb#L2).

### Create client

```ruby
client = Librato::Client.new(
  user: '...',
  token: '...'
  # [, Other Options]
)
```

* Other Options<commit_msg>Fix README<commit_after># Librato::Client

Librato API Client for for Ruby.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'librato-client'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install librato-client

## Usage

* [Librato API Documentation — Librato API Documentation](http://dev.librato.com/v1)
* [RESOURCES](https://github.com/winebarrel/librato-client/blob/master/lib/librato/client/client.rb#L11)
* [SUB_RESOURCES](https://github.com/winebarrel/librato-client/blob/master/lib/librato/client/resource.rb#L2)

### Create client

```ruby
client = Librato::Client.new(
  user: '...',
  token: '...'
  # [, Other Options]
)
```

* Other Options
{'fraction_non_alphanumeric': 0.15837421163279608, 'fraction_numerical': 0.005606166783461808, 'mean_word_length': 4.192727272727272, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '2903785', 'n_tokens_mistral': 549, 'n_tokens_neox': 508, 'n_words': 104}