Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/soulman-is-good/iqsms

iqsms.ru JSON API implementation
https://github.com/soulman-is-good/iqsms

Last synced: about 1 month ago
JSON representation

iqsms.ru JSON API implementation

Awesome Lists containing this project

README

        

# iqsms
iqsms.ru JSON API implementation

This package is implementation for service http://iqsms.ru/api/api_about

# TODO

* API documentation
* Tests

# Installation

```sh
npm install iqsms
```

# Example

```javascript
var Iqsms = require('iqsms');

var iqsms = new Iqsms("your_iqsms_api_login", "your_iqsms_api_password");

//create message
var message = new Iqsms.Message("1", "", "Test message");

//make sure this sender name exists
message.setSender('inform');

//send sms
iqsms.send(message).finally(function(err, data){
console.log(err, data);
});
```

# API

iqsms.send
iqsms.status
iqsms.statusQueue
iqsms.senders
iqsms.balance