<commit_before>#bombast

Node wrapper for bombast messaging service.
This is a node module you can include in your application and give it the ability to use the *bombast messaging system*.
The *Bombast messaging system* will need to be running at a specific server and the Bombast SDK needs to point to it.

## Principle

The principle of the Bombast SDK is brocken into:

  - **The API Call to**
    - *bombaster*: This is used to create bombaster users who will have access to the *Bombast messaging system*
      - **create**: The create method require an administrator that has full access.
    - *messages*: This is used to send sms/email messages directly. This is has the following method 
      - **getMessages**: Get all messages that have been sent up to 50 message. 
      - **getMessage**: Get a single message
      - **sendMessage**: Send a message through the *Bombast messaging system*
      - **addMessageStatus**: Change/Add the status of a single message that has been sent
      - **addMessageSMSStatus**: Add the sms status
      - **addMessageEmailStatus**: Add the email status
    - *masterTemplates*: A general top level template used by messages and templates
      - **getMasterTemplates**: Get all the master template created 
      - **getMasterTemplate**: Get a single master template specified by the Id
      - **addMasterTemplate**: Add a new master template
    - *messageTemplates*: message template, used to send messages with a formated template
      - **getMessageTemplates**: Gets all the message templates
      - **getMessageTemplate**: Gets a single message template, specified by an Id
      - **sendTemplateMessage**: Send a message with a template
      - **addMessageTemplate**: Add a new message template

## Install

`npm install https://github.com/Encentivize/bombast-node-sdk.git ---save`

One of the way you can include the api into your project is:

     var bombast=require("bombast");
 
     app.post("/:bombaster/callapi",
        function (req, res, next) {

            var api = req.body.api;<commit_msg>added readme.md and changes to status call<commit_after>#bombast

Node wrapper for bombast messaging service.
This is a node module you can include in your application and give it the ability to use the *bombast messaging system*.
The *Bombast messaging system* will need to be running at a specific server and the Bombast SDK needs to point to it.

## Principle

The principle of the Bombast SDK is brocken into:

  - **The API Call to**
    - **bombaster**: This is used to create bombaster users who will have access to the *Bombast messaging system*
      - **create**: The create method require an administrator that has full access.
    - **messages**: This is used to send sms/email messages directly. This is has the following method 
      - **getMessages**: Get all messages that have been sent up to 50 message. 
      - **getMessage**: Get a single message
      - **sendMessage**: Send a message through the *Bombast messaging system*
      - **addMessageStatus**: Change/Add the status of a single message that has been sent
      - **addMessageSMSStatus**: Add the sms status
      - **addMessageEmailStatus**: Add the email status
    - **masterTemplates**: A general top level template used by messages and templates
      - **getMasterTemplates**: Get all the master template created 
      - **getMasterTemplate**: Get a single master template specified by the Id
      - **addMasterTemplate**: Add a new master template
    - **messageTemplates**: message template, used to send messages with a formated template
      - **getMessageTemplates**: Gets all the message templates
      - **getMessageTemplate**: Gets a single message template, specified by an Id
      - **sendTemplateMessage**: Send a message with a template
      - **addMessageTemplate**: Add a new message template

## Install

`npm install https://github.com/Encentivize/bombast-node-sdk.git ---save`

One of the way you can include the api into your project is:

     var bombast=require("bombast");
 
     app.post("/:bombaster/callapi",
        function (req, res, next) {

            var api = req.body.api;
{'fraction_non_alphanumeric': 0.08379351740696278, 'fraction_numerical': 0.0009603841536614646, 'mean_word_length': 3.4038054968287526, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3240351', 'n_tokens_mistral': 1068, 'n_tokens_neox': 1034, 'n_words': 521}