<commit_before># apigee-analytics-collector
This is a commandline utility for reporting API traffic volume from a Edge Private Cloud installation to Apigee. Internally utility leverages Edge Management APIs to retrieve and report data to Apigee.

#### <a name="installation"></a>Installation
`apigee-analytics-collector` is a node.js module and you can install it using npm.

##### Requirements
npm 2.x or greater and node.js 4.x.

**The following information is required to forward traffic data to Apigee:**

1. **apigee_mgmt_api_uri** This can be obtained from your Apigee Administrator e.g. `https://{hostname}/v1`
2. **apigee_mgmt_api_email** This account requires access to open `/stats api` 
3. **apigee_mgmt_api_password**
4. **apigee_analytics_client_id** please submit a ticket with Apigee Support to obtain apigee_analytics_client_id and apigee_analytics_secret
5. **apigee_analytics_secret**

##### Installation using NPM
Unzip `apigee-analytics-collector_*.zip` file, cd into the folder where it was expanded and install with NPM:
```bash
cd apigee-analytics-collector
npm install -g
```
<commit_msg>Updated REAME file <commit_after># apigee-analytics-collector
This is a commandline utility for reporting API traffic volume from a Edge Private Cloud installation to Apigee. Internally utility leverages Edge Management APIs to retrieve and report data to Apigee.

#### <a name="installation"></a>Installation
`apigee-analytics-collector` is a node.js module and you can install it using npm.

##### Requirements
npm 2.x or greater and node.js 4.x.

**The following information is required to forward traffic data to Apigee:**

1. **apigee_mgmt_api_uri** This can be obtained from your Apigee Administrator e.g. `https://{hostname}/v1`
2. **apigee_mgmt_api_email** This account requires access to open `/stats api` 
3. **apigee_mgmt_api_password**
4. **apigee_analytics_client_id** please submit a ticket with Apigee Support to obtain apigee_analytics_client_id and apigee_analytics_secret
5. **apigee_analytics_secret**

##### Installation using npm

```bash
npm install apigee-analytics-collector -g
```

{'fraction_non_alphanumeric': 0.0906515580736544, 'fraction_numerical': 0.007554296506137866, 'mean_word_length': 5.5, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '154795', 'n_tokens_mistral': 672, 'n_tokens_neox': 646, 'n_words': 247}