smsbao
TypeScript icon, indicating that this package has built-in type declarations

1.1.3 • Public • Published

smsbao

A node.js client for smsbao.com (Un-offical version)

Installation

npm i smsbao

OR

yarn add smsbao

Usage

import { Client} from 'smsbao'

const client = new Client({
    user_name: "Input your smsbao.com user name",
    product_id: "Input your smsbao.com product id, contact support for the detail",
    api_key: "Input your API Key"
})

// Send a sms
await client.sendSMS("Input send to phone number", "Input SMS Content")

// Get remain quota
await client.getQuota()

Ref

https://www.smsbao.com/openapi/213.html

Readme

Keywords

Package Sidebar

Install

npm i smsbao

Weekly Downloads

3

Version

1.1.3

License

GNU General Public License v3.0

Unpacked Size

39.8 kB

Total Files

8

Last publish

Collaborators

  • ev4ns