Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/balinux/zenziva-sms

Zenziva - Indonesia Online SMS Gateway
https://github.com/balinux/zenziva-sms

Last synced: 2 days ago
JSON representation

Zenziva - Indonesia Online SMS Gateway

Awesome Lists containing this project

README

        

# Zenziva SMS Client

[Zenziva](https://zenziva.net) SMS client for javascript, nodeJS.

## features
- sms reguler
- sms masking
- Supports the Promise API
- Automatic transforms for JSON data(Coming Soon)

## Installation

Run [npm](https://nodejs.org/en)

```bash
npm i -S zenziva-sms
```

## Usage
```
const zenziva = require('zenziva-sms');
const sms = new zenziva('userkey', 'passkey')

sms.reguler(PhoneNumber, Message)
.then(Response => {
console.log(Response.data);
})
.catch(error => {
console.log(error);
})

sms.masking(PhoneNumber, Message)
.then(Response => {
console.log(Response.data);
})
.catch(error => {
console.log(error);
})
```

## License

MIT © [email protected]