Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/soulman-is-good/iqsms
- Owner: soulman-is-good
- License: mit
- Created: 2015-07-12T11:40:46.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-24T05:59:56.000Z (over 9 years ago)
- Last Synced: 2024-10-12T10:12:07.859Z (2 months ago)
- Language: JavaScript
- Size: 145 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# iqsms
iqsms.ru JSON API implementationThis 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