<commit_before>plugapi
=======

A generic API for creating Plug.dj bots


## How to use
Until it's in NPM, include the PlugAPI object by doing

```js
var PlugAPI = require('./src/')
```

To connect, do this!

```js
var AUTH = ''; // Put your auth token here, it's the cookie value for usr
var ROOM = 'coding-soundtrack';

var bot = new PlugAPI(AUTH);<commit_msg>show key format in readme<commit_after>plugapi
=======

A generic API for creating Plug.dj bots


## How to use
Until it's in NPM, include the PlugAPI object by doing

```js
var PlugAPI = require('./src/')
```

To connect, do this!

```js
var AUTH = 'xxxxxxxxxxxxxxxxxxxxxxxxxxx=?_expires=xxxxxxxxxxxxxxxxxx==&user_id=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx='; // Put your auth token here, it's the cookie value for usr
var ROOM = 'coding-soundtrack';

var bot = new PlugAPI(AUTH);
{'fraction_non_alphanumeric': 0.12987012987012986, 'fraction_numerical': 0.0, 'mean_word_length': 4.691275167785235, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 3, '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': '5149056', 'n_tokens_mistral': 318, 'n_tokens_neox': 261, 'n_words': 104}