<commit_before># SportsApi

[![Build Status](https://travis-ci.org/MikeSilvis/sales_engine.svg?branch=master)](https://travis-ci.org/MikeSilvis/sales_engine)

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'sports_api'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install sports_api

## Usage

#### Supported leagues

The gem only supports the following leagues:

```ruby
ESPN.leagues
# => ["nfl", "mlb", "nba", "ncf"]
```

#### Get scores
``` ruby
week = 1
SportsApi::Fetcher::Score::NFL.find(week)
```

## Development

After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
<commit_msg>updating readme for boxscores<commit_after># SportsApi

[![Build Status](https://travis-ci.org/MikeSilvis/sales_engine.svg?branch=master)](https://travis-ci.org/MikeSilvis/sales_engine)

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'sports_api'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install sports_api

## Usage

#### Get scores
``` ruby
week = 1
SportsApi::Fetcher::Score::NFL.find(week)
```

#### Get Boxscores
``` ruby
gameid = 400791773
SportsApi::Fetcher::Boxscore::NFL.find(gameid)
```

## Development

After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.

{'fraction_non_alphanumeric': 0.14063556457065585, 'fraction_numerical': 0.0074374577417173765, 'mean_word_length': 4.896414342629482, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 4, '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': '4380334', 'n_tokens_mistral': 524, 'n_tokens_neox': 479, 'n_words': 140}