Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/balinux/zenziva-sms
- Owner: balinux
- Created: 2019-01-29T03:55:03.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-06T01:54:46.000Z (almost 6 years ago)
- Last Synced: 2024-04-27T14:05:58.778Z (7 months ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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]