<commit_before>Betable OAuth Node SDK
=====================

Before bets may be placed through the Betable API, the client must be authorized by the player using OAuth.

The Betable OAuth Node SDK (like the other Betable OAuth SDKs) redirects the player to <https://betable.com/authorize> and when they return, completes the OAuth protocol to produce an access token.

Usage
-----

**Configure the Betable OAuth Node SDK**:

    var betable = require('betable-oauth-node-sdk')({
        apiKey      : 'YOUR_CLIENT_ID'
      , apiSecret   : 'YOUR_CLIENT_SECRET'
      , redirectUri : 'YOUR_REDIRECT_URI'
    })

**Redirect the player to Betable**:

    betable.authorize( res, state )

`state` is optional but recommended.  Provide a string you plan to use below to ensure the player who begins the OAuth protocol is the same one that is redirected back in the next step. When the redirect uri is called back, we will provide the same `state` that you passed in, so be sure to make sure that they match<commit_msg>Add missing period.<commit_after>Betable OAuth Node SDK
=====================

Before bets may be placed through the Betable API, the client must be authorized by the player using OAuth.

The Betable OAuth Node SDK (like the other Betable OAuth SDKs) redirects the player to <https://betable.com/authorize> and when they return, completes the OAuth protocol to produce an access token.

Usage
-----

**Configure the Betable OAuth Node SDK**:

    var betable = require('betable-oauth-node-sdk')({
        apiKey      : 'YOUR_CLIENT_ID'
      , apiSecret   : 'YOUR_CLIENT_SECRET'
      , redirectUri : 'YOUR_REDIRECT_URI'
    })

**Redirect the player to Betable**:

    betable.authorize( res, state )

`state` is optional but recommended.  Provide a string you plan to use below to ensure the player who begins the OAuth protocol is the same one that is redirected back in the next step. When the redirect uri is called back, we will provide the same `state` that you passed in, so be sure to make sure that they match.
{'fraction_non_alphanumeric': 0.08657156910969012, 'fraction_numerical': 0.0, 'mean_word_length': 3.7858823529411763, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2383068', 'n_tokens_mistral': 580, 'n_tokens_neox': 561, 'n_words': 273}