js-hoiio
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:Plain Javascript SDK for Hoiio OpenAPI
js-hoiio
========

Plain Javascript SDK for Hoiio OpenAPI

## Functionalities
### Account:
      getBalance
      getInfo

### Number:
      getCountries
      getChoices
      getRates
      subscribe
      updateForwarding
      getActive

### Sms:
      send
      sendBulk
      getHistory
      getRate
      getStatus

### Voice:
      call
      conference
      hangUp
      getHistory
      getRate
      getStatus

### Fax:
      send
      getHistory
      getRate
      getStatus

### Ivr:
      dial
      play
      gather
      record
      transfer
      hangUp

## Examples
```javascript
var client = hoiio.client("YOUR APP_ID", "YOUR ACCESS TOKEN");
var sms = hoiio.sms(client);

sms.send({dest:"+6591861357", msg:"Test"},
        function (req) {
            document.writeln(req);
        });
```

## NOTICE
This currently doesn't return a response with a readyState > 2 due to same origin policy. We are working on enabling CORS soon.

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。