<commit_before># boxrec-client
A BoxRec client which fetches data from the BoxRec boxing website via web scraping in Node.js

## To run

Firstly, install project dependencies

```javascript
npm install
```

Require the module and then use the following command to request a boxer's details:

```javascript
boxrecClient.getBoxerById('474'); // <NAME>
```

The returned boxer data will be in the following JSON format

```javascript
{
    alias: 'Iron',
    bouts: 58,
    rounds: 215,
    knockoutPercentage: 76,
    nationality: 'USA',
    debut: '1985-03-06',
    weightDivision: 'heavyweight',
    stance: 'orthodox',
    dob: '1966-06-30',
    name: '<NAME>',
    wins: '50',
    winsKO: 44,
    draws: '0',
    losses: '6',
    lossesKO: 5 }
```

### To Do

* Tidy up boxer data collection
* Allow boxers to be queried by name in addition to ID
* Make the client available as an npm module

<commit_msg>Added glove<commit_after># boxrec-client 🥊
A BoxRec client which fetches data from the BoxRec boxing website via web scraping in Node.js

## To run

Firstly, install project dependencies

```javascript
npm install
```

Require the module and then use the following command to request a boxer's details:

```javascript
boxrecClient.getBoxerById('474'); // <NAME>
```

The returned boxer data will be in the following JSON format

```javascript
{
    alias: 'Iron',
    bouts: 58,
    rounds: 215,
    knockoutPercentage: 76,
    nationality: 'USA',
    debut: '1985-03-06',
    weightDivision: 'heavyweight',
    stance: 'orthodox',
    dob: '1966-06-30',
    name: '<NAME>',
    wins: '50',
    winsKO: 44,
    draws: '0',
    losses: '6',
    lossesKO: 5 }
```

### To Do

* Tidy up boxer data collection
* Allow boxers to be queried by name in addition to ID
* Make the client available as an npm module


{'fraction_non_alphanumeric': 0.11300992282249173, 'fraction_numerical': 0.03638368246968027, 'mean_word_length': 3.4594594594594597, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '1131369', 'n_tokens_mistral': 648, 'n_tokens_neox': 581, 'n_words': 226}