<commit_before># LCBO: The Ruby Gem

This library is used to gather data for [LCBO API](http://lcboapi.com). It allows you to request and parse store, product, inventory, and product list pages directly from the [LCBO](http://lcbo.com) website.

## Synopsis

    require 'lcbo'

    LCBO.store(511)
    # => { :store_no => 511, :name => "King & Spadina", ... }

    LCBO.product(18)
    # => { :product_no => 11, :name => "<NAME>", ... }

    LCBO.inventory(18)
    # => { :product_no => 18, :inventory_count => 40398, :inventories => [ ... ] }

    LCBO.products_list(1)
    # => { :page => 1, :final_page => 108, ..., :product_nos => [ ... ] }

## Installation

Use Ruby Gems: `gem install lcbo`

## Notes

 * Works with Ruby 1.9.2, not tested with 1.8.X or 1.9.1.
 * Don't be evil, be nice.
 * Lots of room to improve; fork your face off!

## Links

 * [Issue tracker](http://github.com/heycarsten/lcbo/issues)
 * [Source code](http://github.com/heycarsten/lcbo)
 * [License](http://github.com/heycarsten/lcbo/blob/master/LICENSE)<commit_msg>An em-dash would be nicer.<commit_after># LCBO: The Ruby Gem

This library is used to gather data for [LCBO API](http://lcboapi.com). It allows you to request and parse store, product, inventory, and product list pages directly from the [LCBO](http://lcbo.com) website.

## Synopsis

    require 'lcbo'

    LCBO.store(511)
    # => { :store_no => 511, :name => "King & Spadina", ... }

    LCBO.product(18)
    # => { :product_no => 11, :name => "<NAME>", ... }

    LCBO.inventory(18)
    # => { :product_no => 18, :inventory_count => 40398, :inventories => [ ... ] }

    LCBO.products_list(1)
    # => { :page => 1, :final_page => 108, ..., :product_nos => [ ... ] }

## Installation

Use Ruby Gems: `gem install lcbo`

## Notes

 * Works with Ruby 1.9.2, not tested with 1.8.X or 1.9.1.
 * Don't be evil, be nice.
 * Lots of room to improve &mdash; fork your face off!

## Links

 * [Issue tracker](http://github.com/heycarsten/lcbo/issues)
 * [Source code](http://github.com/heycarsten/lcbo)
 * [License](http://github.com/heycarsten/lcbo/blob/master/LICENSE)
{'fraction_non_alphanumeric': 0.18056872037914692, 'fraction_numerical': 0.03033175355450237, 'mean_word_length': 3.123046875, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 33, 'https://': 0, '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': '4949205', 'n_tokens_mistral': 823, 'n_tokens_neox': 734, 'n_words': 200}