<commit_before># node-semaphore-sms

Semaphore SMS API Client for NodeJS. Semaphore is The Simplest Web to SMS API ever. To find out more and subscribe to their service, visit their [homepage](http://semaphore.co/).

This SMS service is only available to mobile numbers from the Philippines.

## Installation

	npm install node-semaphore-sms

You also need to change the file **config.json.sample** to **config.json**.

You also need to provide your **API KEY** from Semaphore.

## Usage

	var Semaphore = require('node-semaphore-sms');
	var sms = new Semaphore();

	// To check your account status:
    sms.status(url, function(error, result) {
    	if (!error) {
    		console.log(result);
    	} else
    		console.log(error);<commit_msg>Fixed documentation for status checking<commit_after># node-semaphore-sms

Semaphore SMS API Client for NodeJS. Semaphore is The Simplest Web to SMS API ever. To find out more and subscribe to their service, visit their [homepage](http://semaphore.co/).

This SMS service is only available to mobile numbers from the Philippines.

## Installation

	npm install node-semaphore-sms

You also need to change the file **config.json.sample** to **config.json**.

You also need to provide your **API KEY** from Semaphore.

## Usage

	var Semaphore = require('node-semaphore-sms');
	var sms = new Semaphore();

	// To check your account status:
    sms.status(function(error, result) {
    	if (!error) {
    		console.log(result);
    	} else
    		console.log(error);
{'fraction_non_alphanumeric': 0.10312707917498337, 'fraction_numerical': 0.0, 'mean_word_length': 3.759493670886076, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4241597', 'n_tokens_mistral': 489, 'n_tokens_neox': 470, 'n_words': 174}